home *** CD-ROM | disk | FTP | other *** search
/ Apple Service Training: … to Apple Monitor Service / Introduction to Apple Monitor Service v1.0 1994.iso / IAMS On-Line Test < prev    next >
MacBinary  |  1994-02-10  |  187.0 KB  |  [STAK/WILD]

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: MacBinary (archive/macBinary).

You can browse this item here: IAMS On-Line Test

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert HyperCard Stack (archive/hypercard) idMeta Supported
10% dexvert MacBinary (archive/macBinary) fallback Supported
100% file MacBinary II, inited, Thu Mar 26 06:39:39 1992, modified Thu Feb 10 14:44:12 1994, creator HyperCard, type HyperCard stack, 136064 bytes "IAMS On-Line Test" , at 0x21400 55238 bytes resource default (weak)
99% file data default
74% TrID Mac HyperCard stack (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[STAK]
macFileCreator[WILD]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 11 49 41 4d 53 20 4f | 6e 2d 4c 69 6e 65 20 54 |..IAMS O|n-Line T|
|00000010| 65 73 74 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |est.....|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 53 54 41 4b 57 49 4c | 44 01 00 00 00 00 00 00 |.STAKWIL|D.......|
|00000050| 00 00 00 00 02 13 80 00 | 00 d7 c6 a5 f7 68 7b a9 |........|.....h{.|
|00000060| 80 3f 0c 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.?......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 aa 8d 00 00 |........|........|
|00000080| 00 00 64 00 53 54 41 4b | ff ff ff ff 00 00 00 00 |..d.STAK|........|
|00000090| 00 00 00 0a 00 02 13 80 | 00 00 64 00 00 00 00 00 |........|..d.....|
|000000a0| 00 00 00 03 00 00 00 08 | 00 00 0a 09 00 00 00 2b |........|.......+|
|000000b0| 00 00 1e 7d 00 00 64 9d | 00 00 00 00 00 00 00 00 |...}..d.|........|
|000000c0| 00 00 08 17 00 00 00 00 | 00 05 00 00 10 00 00 00 |........|........|
|000000d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000000e0| 02 00 80 00 02 10 80 00 | 02 10 80 00 02 10 80 00 |........|........|
|000000f0| ec 46 74 10 00 00 00 00 | 00 45 00 40 01 9b 02 40 |.Ft.....|.E.@...@|
|00000100| 00 00 00 00 01 e0 02 80 | 00 00 00 00 00 00 00 00 |........|........|
|00000110| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000120| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000130| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000170| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000180| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000190| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000001f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000200| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000210| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000230| 00 00 0d 7a 00 00 0c b2 | 01 56 02 00 00 00 00 00 |...z....|.V......|
|00000240| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000250| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000260| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000270| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000300| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000310| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000340| 00 00 00 00 00 00 00 00 | 80 00 00 00 08 00 00 00 |........|........|
|00000350| 88 00 22 00 88 00 22 00 | 88 88 22 22 88 88 22 22 |.."...".|..""..""|
|00000360| 88 aa 22 aa 88 aa 22 aa | cc aa 33 aa cc aa 33 aa |.."...".|..3...3.|
|00000370| ee aa bb aa ee aa bb aa | ee bb bb ee ee bb bb ee |........|........|
|00000380| ff bb ff ee ff bb ff ee | ff bb ff ff ff bb ff ff |........|........|
|00000390| 80 10 02 20 01 08 40 04 | ff ff ff ff ff ff ff ff |... ..@.|........|
|000003a0| 88 22 88 22 88 22 88 22 | 11 22 44 88 11 22 44 88 |."."."."|."D.."D.|
|000003b0| c4 80 0c 68 43 02 30 26 | b1 30 03 1b d8 c0 0c 8d |...hC.0&|.0......|
|000003c0| aa 00 aa 00 aa 00 aa 00 | 00 ff 00 ff 00 ff 00 ff |........|........|
|000003d0| 88 55 22 55 88 55 22 55 | 77 dd 77 dd 77 dd 77 dd |.U"U.U"U|w.w.w.w.|
|000003e0| 80 00 00 00 00 00 00 00 | aa 55 aa 55 aa 55 aa 55 |........|.U.U.U.U|
|000003f0| 03 84 48 30 0c 02 01 01 | 82 44 39 44 82 01 01 01 |..H0....|.D9D....|
|00000400| 88 14 22 41 88 41 22 14 | 80 80 41 3e 08 08 14 e3 |.."A.A".|..A>....|
|00000410| 22 04 8c 74 22 17 98 10 | be 80 88 08 eb 08 88 80 |"..t"...|........|
|00000420| 25 c8 32 89 64 24 4c 92 | a2 9c 41 be 2a c9 14 eb |%.2.d$L.|..A.*...|
|00000430| 40 a0 00 00 04 0a 00 00 | 80 40 20 00 02 04 08 00 |@.......|.@ .....|
|00000440| aa 00 80 00 88 00 80 00 | ff 80 80 80 80 80 80 80 |........|........|
|00000450| 08 1c 22 c1 80 01 02 04 | ff 80 80 80 ff 08 08 08 |..".....|........|
|00000460| f8 74 22 47 8f 17 22 71 | bf 00 bf bf b0 b0 b0 b0 |.t"G.."q|........|
|00000470| ff 7f be 5d a2 41 80 00 | fa f5 fa f5 a0 50 a0 50 |...].A..|.....P.P|
|00000480| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000490| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000500| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000510| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000520| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000530| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000540| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000550| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000560| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000570| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000580| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000590| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005a0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005b0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000005f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000600| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000610| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000620| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000630| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000640| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000650| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000660| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000670| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000680| 2d 2d 20 6b 65 65 70 73 | 20 73 74 75 64 65 6e 74 |-- keeps| student|
|00000690| 73 20 66 72 6f 6d 20 75 | 73 69 6e 67 20 61 72 72 |s from u|sing arr|
|000006a0| 6f 77 20 6b 65 79 73 20 | 74 6f 20 6d 6f 76 65 20 |ow keys |to move |
|000006b0| 74 68 72 6f 75 67 68 20 | 73 74 61 63 6b 20 77 68 |through |stack wh|
|000006c0| 65 72 65 20 69 6e 61 70 | 70 72 6f 70 72 69 61 74 |ere inap|propriat|
|000006d0| 65 0d 6f 6e 20 61 72 72 | 6f 77 4b 65 79 0d 69 66 |e.on arr|owKey.if|
|000006e0| 20 74 68 65 20 75 73 65 | 72 6c 65 76 65 6c 20 69 | the use|rlevel i|
|000006f0| 73 20 35 20 74 68 65 6e | 0d 70 61 73 73 20 61 72 |s 5 then|.pass ar|
|00000700| 72 6f 77 6b 65 79 0d 65 | 6e 64 20 69 66 0d 65 6e |rowkey.e|nd if.en|
|00000710| 64 20 61 72 72 6f 77 4b | 65 79 0d 0d 2d 2d 20 6b |d arrowK|ey..-- k|
|00000720| 65 65 70 73 20 6d 6f 75 | 73 65 55 70 73 20 66 72 |eeps mou|seUps fr|
|00000730| 6f 6d 20 72 65 61 63 68 | 69 6e 67 20 74 68 65 20 |om reach|ing the |
|00000740| 43 6f 75 72 73 65 20 73 | 74 61 63 6b 0d 6f 6e 20 |Course s|tack.on |
|00000750| 6d 6f 75 73 65 55 70 0d | 65 6e 64 20 6d 6f 75 73 |mouseUp.|end mous|
|00000760| 65 55 70 0d 0d 2d 2d 20 | 20 41 70 70 6c 65 20 4f |eUp..-- | Apple O|
|00000770| 6e 6c 69 6e 65 20 54 65 | 73 74 69 6e 67 0d 2d 2d |nline Te|sting.--|
|00000780| 20 20 20 20 a9 31 39 39 | 31 20 41 70 70 6c 65 20 | .199|1 Apple |
|00000790| 43 6f 6d 70 75 74 65 72 | 2c 20 49 6e 63 2e 0d 0d |Computer|, Inc...|
|000007a0| 0d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |.-------|--------|
|000007b0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000007c0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 0d |--------|-------.|
|000007d0| 2d 2d 20 20 20 20 73 79 | 73 74 65 6d 20 26 20 48 |-- sy|stem & H|
|000007e0| 79 70 65 72 43 61 72 64 | 20 68 61 6e 64 6c 65 72 |yperCard| handler|
|000007f0| 73 0d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |s.------|--------|
|00000800| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000810| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000820| 0d 0d 0d 6f 6e 20 6f 70 | 65 6e 53 74 61 63 6b 0d |...on op|enStack.|
|00000830| 2d 2d 69 66 20 74 68 65 | 20 73 68 6f 72 74 20 6e |--if the| short n|
|00000840| 61 6d 65 20 6f 66 20 74 | 68 69 73 20 73 74 61 63 |ame of t|his stac|
|00000850| 6b 20 69 73 20 6e 6f 74 | 20 22 49 4d 53 20 4f 6e |k is not| "IMS On|
|00000860| 2d 6c 69 6e 65 20 54 65 | 73 74 22 20 74 68 65 6e |-line Te|st" then|
|00000870| 20 70 61 73 73 20 6f 70 | 65 6e 53 74 61 63 6b 0d | pass op|enStack.|
|00000880| 67 6c 6f 62 61 6c 20 71 | 43 6f 75 6e 74 20 20 2d |global q|Count -|
|00000890| 2d 20 20 6e 75 6d 62 65 | 72 20 6f 66 20 74 65 73 |- numbe|r of tes|
|000008a0| 74 20 71 75 65 73 74 69 | 6f 6e 73 2c 20 73 65 74 |t questi|ons, set|
|000008b0| 20 64 75 72 69 6e 67 20 | 69 6d 70 6f 72 74 0d 67 | during |import.g|
|000008c0| 6c 6f 62 61 6c 20 6f 6c | 64 55 73 65 72 4c 65 76 |lobal ol|dUserLev|
|000008d0| 65 6c 20 20 2d 2d 20 20 | 74 68 65 20 6f 72 69 67 |el -- |the orig|
|000008e0| 69 6e 61 6c 20 75 73 65 | 72 6c 65 76 65 6c 0d 67 |inal use|rlevel.g|
|000008f0| 6c 6f 62 61 6c 20 6f 75 | 72 55 73 65 72 4c 65 76 |lobal ou|rUserLev|
|00000900| 65 6c 20 20 2d 2d 20 20 | 74 68 65 20 75 73 65 72 |el -- |the user|
|00000910| 6c 65 76 65 6c 20 75 73 | 65 64 20 62 79 20 74 68 |level us|ed by th|
|00000920| 69 73 20 73 74 61 63 6b | 0d 67 6c 6f 62 61 6c 20 |is stack|.global |
|00000930| 6f 6c 64 42 6c 69 6e 64 | 54 79 70 69 6e 67 20 20 |oldBlind|Typing |
|00000940| 2d 2d 20 20 74 68 65 20 | 6f 72 69 67 69 6e 61 6c |-- the |original|
|00000950| 20 76 61 6c 75 65 20 6f | 66 20 62 6c 69 6e 64 54 | value o|f blindT|
|00000960| 79 70 69 6e 67 0d 67 6c | 6f 62 61 6c 20 74 65 73 |yping.gl|obal tes|
|00000970| 74 53 74 61 63 6b 0d 67 | 6c 6f 62 61 6c 20 74 68 |tStack.g|lobal th|
|00000980| 65 46 69 6c 65 20 20 2d | 2d 20 20 75 73 65 64 20 |eFile -|- used |
|00000990| 69 6e 20 69 6d 70 6f 72 | 74 54 65 73 74 20 26 20 |in impor|tTest & |
|000009a0| 69 6e 20 72 65 61 64 53 | 6f 6d 65 46 69 6c 65 28 |in readS|omeFile(|
|000009b0| 29 20 66 6f 72 20 6e 61 | 6d 65 20 6f 66 20 74 68 |) for na|me of th|
|000009c0| 65 20 54 65 73 74 20 3f | 20 74 65 78 74 2f 50 49 |e Test ?| text/PI|
|000009d0| 43 54 20 66 69 6c 65 0d | 70 75 74 20 74 68 65 20 |CT file.|put the |
|000009e0| 73 68 6f 72 74 20 6e 61 | 6d 65 20 6f 66 20 74 68 |short na|me of th|
|000009f0| 69 73 20 73 74 61 63 6b | 20 69 6e 74 6f 20 74 65 |is stack| into te|
|00000a00| 73 74 53 74 61 63 6b 0d | 67 6f 20 63 64 20 22 54 |stStack.|go cd "T|
|00000a10| 65 73 74 20 54 69 74 6c | 65 22 0d 68 69 64 65 20 |est Titl|e".hide |
|00000a20| 63 64 20 70 69 63 74 75 | 72 65 0d 2d 2d 20 70 75 |cd pictu|re.-- pu|
|00000a30| 74 20 65 6d 70 74 79 20 | 69 6e 74 6f 20 63 64 20 |t empty |into cd |
|00000a40| 66 6c 64 20 22 54 69 74 | 6c 65 22 20 6f 66 20 63 |fld "Tit|le" of c|
|00000a50| 64 20 22 54 65 73 74 20 | 54 69 74 6c 65 22 20 20 |d "Test |Title" |
|00000a60| 2d 2d 20 20 65 72 61 73 | 65 20 64 69 73 70 6c 61 |-- eras|e displa|
|00000a70| 79 20 74 69 74 6c 65 0d | 73 65 74 20 63 75 72 73 |y title.|set curs|
|00000a80| 6f 72 20 74 6f 20 77 61 | 74 63 68 0d 0d 2d 2d 20 |or to wa|tch..-- |
|00000a90| 4f 6c 69 76 65 72 20 74 | 77 65 61 6b 65 64 20 74 |Oliver t|weaked t|
|00000aa0| 68 69 73 20 61 6e 73 77 | 65 72 20 64 69 61 6c 6f |his answ|er dialo|
|00000ab0| 67 20 35 2f 35 2f 39 33 | 0d 69 66 20 74 68 65 20 |g 5/5/93|.if the |
|00000ac0| 63 61 6e 74 6d 6f 64 69 | 66 79 20 6f 66 20 74 68 |cantmodi|fy of th|
|00000ad0| 69 73 20 73 74 61 63 6b | 20 69 73 20 74 72 75 65 |is stack| is true|
|00000ae0| 20 74 68 65 6e 0d 61 6e | 73 77 65 72 20 22 54 68 | then.an|swer "Th|
|00000af0| 69 73 20 73 74 61 63 6b | 20 63 61 6e 6e 6f 74 20 |is stack| cannot |
|00000b00| 62 65 20 75 73 65 64 20 | 66 72 6f 6d 20 61 20 77 |be used |from a w|
|00000b10| 72 69 74 65 20 70 72 6f | 74 65 63 74 65 64 20 64 |rite pro|tected d|
|00000b20| 69 73 6b 2e 20 50 6c 65 | 61 73 65 20 63 6f 70 79 |isk. Ple|ase copy|
|00000b30| 20 74 68 69 73 20 73 74 | 61 63 6b 20 74 6f 20 79 | this st|ack to y|
|00000b40| 6f 75 72 20 68 61 72 64 | 20 64 69 73 6b 20 62 65 |our hard| disk be|
|00000b50| 66 6f 72 65 20 75 73 69 | 6e 67 20 69 74 2e 22 20 |fore usi|ng it." |
|00000b60| 77 69 74 68 20 22 51 75 | 69 74 22 0d 64 6f 4d 65 |with "Qu|it".doMe|
|00000b70| 6e 75 20 22 71 75 69 74 | 20 68 79 70 65 72 63 61 |nu "quit| hyperca|
|00000b80| 72 64 22 0d 65 78 69 74 | 20 6f 70 65 6e 73 74 61 |rd".exit| opensta|
|00000b90| 63 6b 0d 65 6e 64 20 69 | 66 0d 0d 69 66 20 74 68 |ck.end i|f..if th|
|00000ba0| 65 20 76 65 72 73 69 6f | 6e 20 3c 20 32 2e 30 20 |e versio|n < 2.0 |
|00000bb0| 74 68 65 6e 0d 61 6e 73 | 77 65 72 20 22 54 68 69 |then.ans|wer "Thi|
|00000bc0| 73 20 73 74 61 63 6b 20 | 72 65 71 75 69 72 65 73 |s stack |requires|
|00000bd0| 20 48 79 70 65 72 43 61 | 72 64 20 32 2e 30 20 6f | HyperCa|rd 2.0 o|
|00000be0| 72 20 6c 61 74 65 72 2e | 22 20 77 69 74 68 20 22 |r later.|" with "|
|00000bf0| 51 75 69 74 22 0d 64 6f | 4d 65 6e 75 20 22 71 75 |Quit".do|Menu "qu|
|00000c00| 69 74 20 68 79 70 65 72 | 63 61 72 64 22 0d 65 78 |it hyper|card".ex|
|00000c10| 69 74 20 6f 70 65 6e 73 | 74 61 63 6b 0d 65 6e 64 |it opens|tack.end|
|00000c20| 20 69 66 0d 0d 69 66 20 | 74 68 65 20 64 69 73 6b | if..if |the disk|
|00000c30| 53 70 61 63 65 20 3c 20 | 34 30 30 30 30 30 20 74 |Space < |400000 t|
|00000c40| 68 65 6e 0d 61 6e 73 77 | 65 72 20 22 54 68 65 72 |hen.answ|er "Ther|
|00000c50| 65 20 69 73 6e d5 74 20 | 65 6e 6f 75 67 68 20 64 |e isn.t |enough d|
|00000c60| 69 73 6b 20 73 70 61 63 | 65 20 66 6f 72 20 74 68 |isk spac|e for th|
|00000c70| 69 73 20 73 74 61 63 6b | 20 74 6f 20 6f 70 65 72 |is stack| to oper|
|00000c80| 61 74 65 22 20 c2 0d 26 | 20 22 20 63 6f 72 72 65 |ate" ..&| " corre|
|00000c90| 63 74 6c 79 2e 20 41 20 | 74 6f 74 61 6c 20 6f 66 |ctly. A |total of|
|00000ca0| 20 61 74 20 6c 65 61 73 | 74 20 34 30 30 4b 20 69 | at leas|t 400K i|
|00000cb0| 73 20 6e 65 65 64 65 64 | 2c 22 20 c2 0d 26 20 22 |s needed|," ..& "|
|00000cc0| 20 62 75 74 20 6f 6e 6c | 79 22 20 26 26 20 64 69 | but onl|y" && di|
|00000cd0| 73 6b 53 70 61 63 65 28 | 29 20 64 69 76 20 31 30 |skSpace(|) div 10|
|00000ce0| 32 34 20 26 20 22 4b 20 | 69 73 20 61 76 61 69 6c |24 & "K |is avail|
|00000cf0| 61 62 6c 65 2e 22 20 77 | 69 74 68 20 22 51 75 69 |able." w|ith "Qui|
|00000d00| 74 22 0d 64 6f 4d 65 6e | 75 20 22 71 75 69 74 20 |t".doMen|u "quit |
|00000d10| 68 79 70 65 72 63 61 72 | 64 22 0d 65 78 69 74 20 |hypercar|d".exit |
|00000d20| 6f 70 65 6e 73 74 61 63 | 6b 0d 65 6e 64 20 69 66 |openstac|k.end if|
|00000d30| 0d 0d 2d 2d 20 74 68 65 | 20 66 6f 6c 6c 6f 77 69 |..-- the| followi|
|00000d40| 6e 67 20 73 63 72 69 70 | 74 20 77 61 73 20 63 6f |ng scrip|t was co|
|00000d50| 6d 6d 65 6e 74 65 64 20 | 6f 75 74 20 62 79 20 4f |mmented |out by O|
|00000d60| 6c 69 76 65 72 20 35 2f | 35 2f 39 33 20 73 69 6e |liver 5/|5/93 sin|
|00000d70| 63 65 20 69 74 0d 2d 2d | 20 64 6f 65 73 6e 27 74 |ce it.--| doesn't|
|00000d80| 20 6d 61 6b 65 20 61 6e | 79 20 73 65 6e 73 65 0d | make an|y sense.|
|00000d90| 2d 2d 20 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |-- -----|--------|
|00000da0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 0d 2d |--------|------.-|
|00000db0| 2d 20 2d 2d 20 20 63 68 | 65 63 6b 20 74 68 61 74 |- -- ch|eck that|
|00000dc0| 20 48 79 70 65 72 43 61 | 72 64 20 69 73 20 72 75 | HyperCa|rd is ru|
|00000dd0| 6e 6e 69 6e 67 20 6f 6e | 20 74 68 69 73 20 6d 61 |nning on| this ma|
|00000de0| 63 68 69 6e 65 0d 2d 2d | 20 69 66 20 76 6f 6c 75 |chine.--| if volu|
|00000df0| 6d 65 4e 61 6d 65 28 74 | 72 69 6d 28 74 68 65 20 |meName(t|rim(the |
|00000e00| 6c 6f 6e 67 20 6e 61 6d | 65 20 6f 66 20 73 74 61 |long nam|e of sta|
|00000e10| 63 6b 20 22 48 6f 6d 65 | 22 29 29 20 ad 20 c2 0d |ck "Home|")) . ..|
|00000e20| 2d 2d 20 76 6f 6c 75 6d | 65 4e 61 6d 65 28 74 72 |-- volum|eName(tr|
|00000e30| 69 6d 28 6c 6f 6e 67 20 | 6e 61 6d 65 20 6f 66 20 |im(long |name of |
|00000e40| 74 68 69 73 20 73 74 61 | 63 6b 29 29 20 74 68 65 |this sta|ck)) the|
|00000e50| 6e 0d 2d 2d 20 70 75 74 | 20 22 59 6f 75 72 20 48 |n.-- put| "Your H|
|00000e60| 6f 6d 65 20 73 74 61 63 | 6b 20 61 6e 64 20 74 68 |ome stac|k and th|
|00000e70| 69 73 20 6f 6e 65 20 64 | 6f 6e d5 74 20 72 65 73 |is one d|on.t res|
|00000e80| 69 64 65 20 6f 6e 20 74 | 68 65 20 73 61 6d 65 20 |ide on t|he same |
|00000e90| 76 6f 6c 75 6d 65 2e 20 | 22 20 69 6e 74 6f 20 74 |volume. |" into t|
|00000ea0| 68 65 53 74 72 69 6e 67 | 0d 2d 2d 20 70 75 74 20 |heString|.-- put |
|00000eb0| 22 57 65 20 72 65 63 6f | 6d 6d 65 6e 64 20 74 68 |"We reco|mmend th|
|00000ec0| 61 74 20 79 6f 75 20 68 | 61 76 65 20 74 68 69 73 |at you h|ave this|
|00000ed0| 20 41 6e 73 77 65 72 20 | 73 74 61 63 6b 20 61 6e | Answer |stack an|
|00000ee0| 64 20 74 68 65 20 22 20 | 61 66 74 65 72 20 74 68 |d the " |after th|
|00000ef0| 65 53 74 72 69 6e 67 0d | 2d 2d 20 70 75 74 20 22 |eString.|-- put "|
|00000f00| 54 65 73 74 20 51 75 65 | 73 74 69 6f 6e 73 20 66 |Test Que|stions f|
|00000f10| 69 6c 65 20 6f 6e 20 74 | 68 65 20 73 61 6d 65 20 |ile on t|he same |
|00000f20| 76 6f 6c 75 6d 65 20 61 | 73 20 48 79 70 65 72 43 |volume a|s HyperC|
|00000f30| 61 72 64 2e 22 20 61 66 | 74 65 72 20 74 68 65 53 |ard." af|ter theS|
|00000f40| 74 72 69 6e 67 0d 2d 2d | 20 61 6e 73 77 65 72 20 |tring.--| answer |
|00000f50| 74 68 65 53 74 72 69 6e | 67 20 77 69 74 68 20 22 |theStrin|g with "|
|00000f60| 43 6f 6e 74 69 6e 75 65 | 22 20 6f 72 20 22 51 75 |Continue|" or "Qu|
|00000f70| 69 74 22 0d 2d 2d 20 69 | 66 20 69 74 20 69 73 20 |it".-- i|f it is |
|00000f80| 22 51 75 69 74 22 20 74 | 68 65 6e 0d 2d 2d 20 64 |"Quit" t|hen.-- d|
|00000f90| 6f 4d 65 6e 75 20 22 71 | 75 69 74 20 68 79 70 65 |oMenu "q|uit hype|
|00000fa0| 72 63 61 72 64 22 0d 2d | 2d 20 65 78 69 74 20 6f |rcard".-|- exit o|
|00000fb0| 70 65 6e 73 74 61 63 6b | 0d 2d 2d 20 65 6e 64 20 |penstack|.-- end |
|00000fc0| 69 66 0d 2d 2d 20 65 6e | 64 20 69 66 0d 2d 2d 20 |if.-- en|d if.-- |
|00000fd0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000fe0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 0d 6c 6f |--------|-----.lo|
|00000ff0| 63 6b 20 73 63 72 65 65 | 6e 0d 0d 70 75 74 20 74 |ck scree|n..put t|
|00001000| 68 65 20 75 73 65 72 4c | 65 76 65 6c 20 69 6e 74 |he userL|evel int|
|00001010| 6f 20 6f 6c 64 55 73 65 | 72 4c 65 76 65 6c 0d 70 |o oldUse|rLevel.p|
|00001020| 75 74 20 32 20 69 6e 74 | 6f 20 6f 75 72 55 73 65 |ut 2 int|o ourUse|
|00001030| 72 4c 65 76 65 6c 20 20 | 2d 2d 20 b6 32 20 74 68 |rLevel |-- .2 th|
|00001040| 65 20 75 73 65 72 6c 65 | 76 65 6c 20 74 68 61 74 |e userle|vel that|
|00001050| 20 77 65 27 72 65 20 75 | 73 69 6e 67 20 68 65 72 | we're u|sing her|
|00001060| 65 0d 73 65 74 20 74 68 | 65 20 75 73 65 72 6c 65 |e.set th|e userle|
|00001070| 76 65 6c 20 74 6f 20 6f | 75 72 55 73 65 72 4c 65 |vel to o|urUserLe|
|00001080| 76 65 6c 0d 70 75 74 20 | 74 68 65 20 62 6c 69 6e |vel.put |the blin|
|00001090| 64 54 79 70 69 6e 67 20 | 69 6e 74 6f 20 6f 6c 64 |dTyping |into old|
|000010a0| 42 6c 69 6e 64 54 79 70 | 69 6e 67 0d 73 65 74 20 |BlindTyp|ing.set |
|000010b0| 62 6c 69 6e 64 54 79 70 | 69 6e 67 20 74 6f 20 46 |blindTyp|ing to F|
|000010c0| 41 4c 53 45 0d 63 68 6f | 6f 73 65 20 62 72 6f 77 |ALSE.cho|ose brow|
|000010d0| 73 65 20 74 6f 6f 6c 0d | 68 69 64 65 20 77 69 6e |se tool.|hide win|
|000010e0| 64 6f 77 20 22 4d 65 73 | 73 61 67 65 22 0d 68 69 |dow "Mes|sage".hi|
|000010f0| 64 65 20 77 69 6e 64 6f | 77 20 22 54 6f 6f 6c 73 |de windo|w "Tools|
|00001100| 22 0d 68 69 64 65 20 77 | 69 6e 64 6f 77 20 22 50 |".hide w|indow "P|
|00001110| 61 74 74 65 72 6e 73 22 | 0d 68 69 64 65 20 77 69 |atterns"|.hide wi|
|00001120| 6e 64 6f 77 20 22 46 61 | 74 42 69 74 73 22 0d 68 |ndow "Fa|tBits".h|
|00001130| 69 64 65 20 77 69 6e 64 | 6f 77 20 22 4d 65 73 73 |ide wind|ow "Mess|
|00001140| 61 67 65 20 57 61 74 63 | 68 65 72 22 0d 68 69 64 |age Watc|her".hid|
|00001150| 65 20 77 69 6e 64 6f 77 | 20 22 56 61 72 69 61 62 |e window| "Variab|
|00001160| 6c 65 20 57 61 74 63 68 | 65 72 22 0d 68 69 64 65 |le Watch|er".hide|
|00001170| 20 77 69 6e 64 6f 77 20 | 22 53 63 72 6f 6c 6c 22 | window |"Scroll"|
|00001180| 0d 69 66 20 74 68 65 72 | 65 20 69 73 20 61 20 77 |.if ther|e is a w|
|00001190| 69 6e 64 6f 77 20 22 4e | 61 76 69 67 61 74 6f 72 |indow "N|avigator|
|000011a0| 22 20 74 68 65 6e 20 68 | 69 64 65 20 77 69 6e 64 |" then h|ide wind|
|000011b0| 6f 77 20 22 4e 61 76 69 | 67 61 74 6f 72 22 0d 2d |ow "Navi|gator".-|
|000011c0| 2d 20 20 6d 61 79 62 65 | 20 68 69 64 65 20 73 6f |- maybe| hide so|
|000011d0| 6d 65 20 48 79 70 65 72 | 43 61 72 64 20 6d 65 6e |me Hyper|Card men|
|000011e0| 75 73 20 74 6f 6f 3f 3f | 3f 0d 0d 2d 2d 20 20 63 |us too??|?..-- c|
|000011f0| 65 6e 74 65 72 20 74 68 | 65 20 63 61 72 64 20 77 |enter th|e card w|
|00001200| 69 6e 64 6f 77 20 6f 6e | 20 74 68 65 20 73 63 72 |indow on| the scr|
|00001210| 65 65 6e 0d 70 75 74 20 | 69 74 65 6d 20 33 20 6f |een.put |item 3 o|
|00001220| 66 20 74 68 65 20 73 63 | 72 65 65 6e 52 65 63 74 |f the sc|reenRect|
|00001230| 20 69 6e 74 6f 20 73 57 | 69 64 74 68 0d 70 75 74 | into sW|idth.put|
|00001240| 20 69 74 65 6d 20 34 20 | 6f 66 20 74 68 65 20 73 | item 4 |of the s|
|00001250| 63 72 65 65 6e 52 65 63 | 74 20 69 6e 74 6f 20 73 |creenRec|t into s|
|00001260| 48 65 69 67 68 74 0d 70 | 75 74 20 74 68 65 20 77 |Height.p|ut the w|
|00001270| 69 64 74 68 20 6f 66 20 | 74 68 69 73 20 63 61 72 |idth of |this car|
|00001280| 64 20 69 6e 74 6f 20 63 | 57 69 64 74 68 20 20 2d |d into c|Width -|
|00001290| 2d 20 20 35 37 36 0d 70 | 75 74 20 74 68 65 20 68 |- 576.p|ut the h|
|000012a0| 65 69 67 68 74 20 6f 66 | 20 74 68 69 73 20 63 61 |eight of| this ca|
|000012b0| 72 64 20 69 6e 74 6f 20 | 63 48 65 69 67 68 74 20 |rd into |cHeight |
|000012c0| 20 2d 2d 20 20 34 30 36 | 0d 70 75 74 20 28 73 57 | -- 406|.put (sW|
|000012d0| 69 64 74 68 2d 63 57 69 | 64 74 68 29 20 64 69 76 |idth-cWi|dth) div|
|000012e0| 20 32 20 69 6e 74 6f 20 | 78 4c 6f 63 0d 70 75 74 | 2 into |xLoc.put|
|000012f0| 20 28 73 48 65 69 67 68 | 74 2d 63 48 65 69 67 68 | (sHeigh|t-cHeigh|
|00001300| 74 29 20 64 69 76 20 32 | 20 69 6e 74 6f 20 79 4c |t) div 2| into yL|
|00001310| 6f 63 0d 73 65 74 20 74 | 68 65 20 72 65 63 74 20 |oc.set t|he rect |
|00001320| 6f 66 20 63 64 20 77 69 | 6e 64 6f 77 20 74 6f 20 |of cd wi|ndow to |
|00001330| 78 4c 6f 63 2c 20 79 4c | 6f 63 2c 20 73 57 69 64 |xLoc, yL|oc, sWid|
|00001340| 74 68 2c 20 73 48 65 69 | 67 68 74 0d 73 65 74 20 |th, sHei|ght.set |
|00001350| 74 68 65 20 73 63 72 6f | 6c 6c 20 6f 66 20 63 64 |the scro|ll of cd|
|00001360| 20 77 69 6e 64 6f 77 20 | 74 6f 20 30 2c 30 0d 0d | window |to 0,0..|
|00001370| 75 6e 6c 6f 63 6b 20 73 | 63 72 65 65 6e 0d 0d 2d |unlock s|creen..-|
|00001380| 2d 20 20 64 65 74 65 72 | 6d 69 6e 65 20 76 61 6c |- deter|mine val|
|00001390| 75 65 20 66 6f 72 20 71 | 43 6f 75 6e 74 20 69 66 |ue for q|Count if|
|000013a0| 20 74 65 73 74 20 69 73 | 20 62 75 69 6c 74 0d 2d | test is| built.-|
|000013b0| 2d 20 20 6f 72 20 63 68 | 65 63 6b 20 66 6f 72 20 |- or ch|eck for |
|000013c0| 61 20 70 61 72 74 69 61 | 6c 20 6c 6f 61 64 2c 20 |a partia|l load, |
|000013d0| 61 6e 64 20 64 65 73 74 | 72 6f 79 0d 69 66 20 74 |and dest|roy.if t|
|000013e0| 68 65 72 65 20 69 73 20 | 61 20 63 61 72 64 20 22 |here is |a card "|
|000013f0| 51 31 22 20 74 68 65 6e | 0d 67 65 74 20 74 68 65 |Q1" then|.get the|
|00001400| 20 73 68 6f 72 74 20 6e | 61 6d 65 20 6f 66 20 74 | short n|ame of t|
|00001410| 68 65 20 6c 61 73 74 20 | 63 61 72 64 0d 64 65 6c |he last |card.del|
|00001420| 65 74 65 20 63 68 61 72 | 20 31 20 6f 66 20 69 74 |ete char| 1 of it|
|00001430| 0d 70 75 74 20 69 74 20 | 69 6e 74 6f 20 71 43 6f |.put it |into qCo|
|00001440| 75 6e 74 0d 73 65 6c 66 | 44 65 73 74 72 75 63 74 |unt.self|Destruct|
|00001450| 20 20 2d 2d 20 20 74 65 | 73 74 20 62 75 69 6c 64 | -- te|st build|
|00001460| 20 77 61 73 20 61 62 6f | 72 74 65 64 20 6c 61 73 | was abo|rted las|
|00001470| 74 20 74 69 6d 65 0d 65 | 6e 64 20 69 66 0d 0d 69 |t time.e|nd if..i|
|00001480| 66 20 74 68 65 20 66 72 | 65 65 73 69 7a 65 20 6f |f the fr|eesize o|
|00001490| 66 20 74 68 69 73 20 73 | 74 61 63 6b 20 3e 20 30 |f this s|tack > 0|
|000014a0| 2e 31 20 2a 20 74 68 65 | 20 73 69 7a 65 20 6f 66 |.1 * the| size of|
|000014b0| 20 74 68 69 73 20 73 74 | 61 63 6b 0d 74 68 65 6e | this st|ack.then|
|000014c0| 20 64 6f 4d 65 6e 75 20 | 22 43 6f 6d 70 61 63 74 | doMenu |"Compact|
|000014d0| 20 53 74 61 63 6b 22 0d | 76 69 73 75 61 6c 20 65 | Stack".|visual e|
|000014e0| 66 66 65 63 74 20 64 69 | 73 73 6f 6c 76 65 0d 67 |ffect di|ssolve.g|
|000014f0| 6f 20 63 61 72 64 20 22 | 57 65 6c 63 6f 6d 65 20 |o card "|Welcome |
|00001500| 31 22 0d 73 74 61 72 74 | 20 75 73 69 6e 67 20 73 |1".start| using s|
|00001510| 74 61 63 6b 20 74 65 73 | 74 53 74 61 63 6b 0d 0d |tack tes|tStack..|
|00001520| 2d 2d 20 70 75 74 20 22 | 54 68 69 73 20 73 74 61 |-- put "|This sta|
|00001530| 63 6b 20 77 69 6c 6c 20 | 70 72 69 6e 74 20 6f 75 |ck will |print ou|
|00001540| 74 20 61 20 74 65 6d 70 | 6f 72 61 72 79 20 63 65 |t a temp|orary ce|
|00001550| 72 74 69 66 69 63 61 74 | 65 2e 20 4d 61 6b 65 20 |rtificat|e. Make |
|00001560| 73 75 72 65 20 79 6f 75 | 20 61 72 65 20 63 6f 6e |sure you| are con|
|00001570| 6e 65 63 74 65 64 20 74 | 6f 20 61 20 70 72 69 6e |nected t|o a prin|
|00001580| 74 65 72 20 61 6e 64 20 | 74 68 61 74 20 74 68 65 |ter and |that the|
|00001590| 20 70 72 69 6e 74 65 72 | 20 69 73 20 74 75 72 6e | printer| is turn|
|000015a0| 65 64 20 6f 6e 2e 22 20 | 69 6e 74 6f 20 70 72 6f |ed on." |into pro|
|000015b0| 6d 70 74 54 65 78 74 0d | 70 75 74 20 22 54 68 69 |mptText.|put "Thi|
|000015c0| 73 20 73 74 61 63 6b 20 | 77 69 6c 6c 20 70 72 69 |s stack |will pri|
|000015d0| 6e 74 20 61 20 6c 65 74 | 74 65 72 20 6e 65 65 64 |nt a let|ter need|
|000015e0| 65 64 20 66 6f 72 20 63 | 6f 75 72 73 65 20 72 65 |ed for c|ourse re|
|000015f0| 67 69 73 74 72 61 74 69 | 6f 6e 2e 20 4d 61 6b 65 |gistrati|on. Make|
|00001600| 20 73 75 72 65 20 79 6f | 75 20 61 72 65 20 63 6f | sure yo|u are co|
|00001610| 6e 6e 65 63 74 65 64 20 | 74 6f 20 61 20 70 72 69 |nnected |to a pri|
|00001620| 6e 74 65 72 20 61 6e 64 | 20 74 68 61 74 20 74 68 |nter and| that th|
|00001630| 65 20 70 72 69 6e 74 65 | 72 20 69 73 20 74 75 72 |e printe|r is tur|
|00001640| 6e 65 64 20 6f 6e 2e 22 | 20 69 6e 74 6f 20 70 72 |ned on."| into pr|
|00001650| 6f 6d 70 74 54 65 78 74 | 0d 61 6e 73 77 65 72 20 |omptText|.answer |
|00001660| 70 72 6f 6d 70 74 54 65 | 78 74 20 77 69 74 68 20 |promptTe|xt with |
|00001670| 22 43 68 6f 6f 73 65 72 | 22 20 6f 72 20 22 4f 4b |"Chooser|" or "OK|
|00001680| 22 0d 69 66 20 69 74 20 | 69 73 20 22 43 68 6f 6f |".if it |is "Choo|
|00001690| 73 65 72 22 20 74 68 65 | 6e 0d 70 75 74 20 22 73 |ser" the|n.put "s|
|000016a0| 65 6e 64 20 22 20 26 20 | 71 75 6f 74 65 20 26 20 |end " & |quote & |
|000016b0| 22 64 6f 4d 65 6e 75 20 | 43 68 6f 6f 73 65 72 22 |"doMenu |Chooser"|
|000016c0| 20 26 20 71 75 6f 74 65 | 20 69 6e 74 6f 20 6d 79 | & quote| into my|
|000016d0| 43 6d 64 0d 73 65 6e 64 | 20 6d 79 43 6d 64 20 74 |Cmd.send| myCmd t|
|000016e0| 6f 20 48 79 70 65 72 43 | 61 72 64 0d 65 6e 64 20 |o HyperC|ard.end |
|000016f0| 69 66 0d 65 6e 64 20 6f | 70 65 6e 53 74 61 63 6b |if.end o|penStack|
|00001700| 0d 0d 0d 6f 6e 20 63 6c | 6f 73 65 53 74 61 63 6b |...on cl|oseStack|
|00001710| 0d 67 6c 6f 62 61 6c 20 | 6f 6c 64 55 73 65 72 4c |.global |oldUserL|
|00001720| 65 76 65 6c 0d 67 6c 6f | 62 61 6c 20 6f 6c 64 42 |evel.glo|bal oldB|
|00001730| 6c 69 6e 64 54 79 70 69 | 6e 67 2c 20 74 65 73 74 |lindTypi|ng, test|
|00001740| 53 74 61 63 6b 0d 69 66 | 20 74 68 65 72 65 20 69 |Stack.if| there i|
|00001750| 73 20 61 20 63 61 72 64 | 20 22 51 31 22 20 74 68 |s a card| "Q1" th|
|00001760| 65 6e 20 20 2d 2d 20 20 | 66 72 6f 6d 20 6f 74 68 |en -- |from oth|
|00001770| 65 72 20 63 61 72 64 73 | 20 6f 66 20 6c 6f 61 64 |er cards| of load|
|00001780| 65 64 20 74 65 73 74 0d | 67 6c 6f 62 61 6c 20 72 |ed test.|global r|
|00001790| 75 64 65 71 75 69 74 0d | 70 75 74 20 22 79 65 73 |udequit.|put "yes|
|000017a0| 22 20 69 6e 74 6f 20 72 | 75 64 65 71 75 69 74 0d |" into r|udequit.|
|000017b0| 69 66 20 74 68 65 20 6e | 61 6d 65 20 6f 66 20 74 |if the n|ame of t|
|000017c0| 68 69 73 20 62 67 20 ad | 20 22 54 65 73 74 20 49 |his bg .| "Test I|
|000017d0| 74 65 6d 22 20 74 68 65 | 6e 0d 6c 6f 63 6b 20 73 |tem" the|n.lock s|
|000017e0| 63 72 65 65 6e 0d 67 6f | 20 63 64 20 22 51 31 22 |creen.go| cd "Q1"|
|000017f0| 0d 65 6e 64 20 69 66 0d | 63 6c 69 63 6b 20 61 74 |.end if.|click at|
|00001800| 20 74 68 65 20 6c 6f 63 | 20 6f 66 20 62 67 20 62 | the loc| of bg b|
|00001810| 74 6e 20 22 51 75 69 74 | 22 0d 65 6e 64 20 69 66 |tn "Quit|".end if|
|00001820| 0d 69 66 20 6f 6c 64 55 | 73 65 72 4c 65 76 65 6c |.if oldU|serLevel|
|00001830| 20 69 73 20 6e 6f 74 20 | 65 6d 70 74 79 20 74 68 | is not |empty th|
|00001840| 65 6e 20 73 65 74 20 74 | 68 65 20 75 73 65 72 4c |en set t|he userL|
|00001850| 65 76 65 6c 20 74 6f 20 | 6f 6c 64 55 73 65 72 4c |evel to |oldUserL|
|00001860| 65 76 65 6c 0d 69 66 20 | 6f 6c 64 42 6c 69 6e 64 |evel.if |oldBlind|
|00001870| 54 79 70 69 6e 67 20 69 | 73 20 6e 6f 74 20 65 6d |Typing i|s not em|
|00001880| 70 74 79 20 74 68 65 6e | 20 73 65 74 20 62 6c 69 |pty then| set bli|
|00001890| 6e 64 54 79 70 69 6e 67 | 20 74 6f 20 6f 6c 64 42 |ndTyping| to oldB|
|000018a0| 6c 69 6e 64 54 79 70 69 | 6e 67 0d 69 66 20 74 68 |lindTypi|ng.if th|
|000018b0| 65 20 73 68 6f 72 74 20 | 6e 61 6d 65 20 6f 66 20 |e short |name of |
|000018c0| 74 68 69 73 20 73 74 61 | 63 6b 20 69 73 20 6e 6f |this sta|ck is no|
|000018d0| 74 20 22 49 4d 53 20 4f | 6e 2d 6c 69 6e 65 20 54 |t "IMS O|n-line T|
|000018e0| 65 73 74 22 20 74 68 65 | 6e 20 70 61 73 73 20 63 |est" the|n pass c|
|000018f0| 6c 6f 73 65 53 74 61 63 | 6b 0d 6c 6f 63 6b 20 73 |loseStac|k.lock s|
|00001900| 63 72 65 65 6e 0d 70 75 | 73 68 20 63 61 72 64 0d |creen.pu|sh card.|
|00001910| 67 6f 20 63 64 20 22 53 | 74 75 64 65 6e 74 20 49 |go cd "S|tudent I|
|00001920| 44 22 0d 72 65 70 65 61 | 74 20 77 69 74 68 20 69 |D".repea|t with i|
|00001930| 20 3d 20 31 20 74 6f 20 | 74 68 65 20 6e 75 6d 62 | = 1 to |the numb|
|00001940| 65 72 20 6f 66 20 63 64 | 20 66 6c 64 73 0d 70 75 |er of cd| flds.pu|
|00001950| 74 20 65 6d 70 74 79 20 | 69 6e 74 6f 20 63 64 20 |t empty |into cd |
|00001960| 66 6c 64 20 69 0d 65 6e | 64 20 72 65 70 65 61 74 |fld i.en|d repeat|
|00001970| 0d 70 6f 70 20 63 61 72 | 64 0d 75 6e 6c 6f 63 6b |.pop car|d.unlock|
|00001980| 20 73 63 72 65 65 6e 0d | 69 66 20 74 65 73 74 53 | screen.|if testS|
|00001990| 74 61 63 6b 20 69 73 20 | 69 6e 20 74 68 65 20 73 |tack is |in the s|
|000019a0| 74 61 63 6b 73 49 6e 55 | 73 65 20 74 68 65 6e 0d |tacksInU|se then.|
|000019b0| 73 74 6f 70 20 75 73 69 | 6e 67 20 73 74 61 63 6b |stop usi|ng stack|
|000019c0| 20 74 65 73 74 53 74 61 | 63 6b 0d 65 6e 64 20 69 | testSta|ck.end i|
|000019d0| 66 0d 64 6f 4d 65 6e 75 | 20 22 43 6f 6d 70 61 63 |f.doMenu| "Compac|
|000019e0| 74 20 53 74 61 63 6b 22 | 0d 2d 2d 20 20 68 61 6e |t Stack"|.-- han|
|000019f0| 64 6c 65 20 61 20 72 65 | 73 75 6c 74 20 72 65 3a |dle a re|sult re:|
|00001a00| 20 64 69 73 6b 20 66 75 | 6c 6c 2c 20 63 6f 6d 70 | disk fu|ll, comp|
|00001a10| 61 63 74 20 66 61 69 6c | 65 64 2e 0d 69 66 20 74 |act fail|ed..if t|
|00001a20| 68 65 20 72 65 73 75 6c | 74 20 69 73 20 6e 6f 74 |he resul|t is not|
|00001a30| 20 65 6d 70 74 79 20 74 | 68 65 6e 0d 70 75 74 20 | empty t|hen.put |
|00001a40| 22 54 68 69 73 20 73 74 | 61 63 6b 20 77 61 73 20 |"This st|ack was |
|00001a50| 6e 6f 74 20 63 6f 6d 70 | 61 63 74 65 64 20 70 72 |not comp|acted pr|
|00001a60| 6f 62 61 62 6c 79 20 64 | 75 65 20 74 6f 20 61 20 |obably d|ue to a |
|00001a70| 64 69 73 6b 20 22 20 69 | 6e 74 6f 20 74 68 65 53 |disk " i|nto theS|
|00001a80| 74 72 69 6e 67 0d 70 75 | 74 20 22 66 75 6c 6c 20 |tring.pu|t "full |
|00001a90| 65 72 72 6f 72 2e 20 49 | 74 20 77 69 6c 6c 20 74 |error. I|t will t|
|00001aa0| 72 79 20 74 6f 20 63 6f | 6d 70 61 63 74 20 69 74 |ry to co|mpact it|
|00001ab0| 73 65 6c 66 20 74 68 65 | 20 6e 65 78 74 20 74 69 |self the| next ti|
|00001ac0| 6d 65 20 69 74 20 69 73 | 20 73 74 61 72 74 65 64 |me it is| started|
|00001ad0| 2e 22 20 61 66 74 65 72 | 20 74 68 65 53 74 72 69 |." after| theStri|
|00001ae0| 6e 67 0d 61 6e 73 77 65 | 72 20 74 68 65 53 74 72 |ng.answe|r theStr|
|00001af0| 69 6e 67 0d 65 6e 64 20 | 69 66 0d 70 75 74 20 22 |ing.end |if.put "|
|00001b00| 22 0d 65 6e 64 20 63 6c | 6f 73 65 53 74 61 63 6b |".end cl|oseStack|
|00001b10| 0d 0d 0d 6f 6e 20 72 65 | 73 75 6d 65 0d 65 6e 64 |...on re|sume.end|
|00001b20| 20 72 65 73 75 6d 65 0d | 0d 0d 6f 6e 20 73 75 73 | resume.|..on sus|
|00001b30| 70 65 6e 64 0d 65 6e 64 | 20 73 75 73 70 65 6e 64 |pend.end| suspend|
|00001b40| 0d 0d 0d 6f 6e 20 72 65 | 73 75 6d 65 53 74 61 63 |...on re|sumeStac|
|00001b50| 6b 0d 67 6c 6f 62 61 6c | 20 74 65 73 74 53 74 61 |k.global| testSta|
|00001b60| 63 6b 0d 69 66 20 74 65 | 73 74 53 74 61 63 6b 20 |ck.if te|stStack |
|00001b70| 69 73 20 65 6d 70 74 79 | 20 74 68 65 6e 20 70 75 |is empty| then pu|
|00001b80| 74 20 74 68 65 20 73 68 | 6f 72 74 20 6e 61 6d 65 |t the sh|ort name|
|00001b90| 20 6f 66 20 74 68 69 73 | 20 73 74 61 63 6b 20 69 | of this| stack i|
|00001ba0| 6e 74 6f 20 74 65 73 74 | 53 74 61 63 6b 0d 0d 73 |nto test|Stack..s|
|00001bb0| 68 6f 77 20 6d 65 6e 75 | 62 61 72 0d 65 6e 64 20 |how menu|bar.end |
|00001bc0| 72 65 73 75 6d 65 53 74 | 61 63 6b 0d 0d 0d 6f 6e |resumeSt|ack...on|
|00001bd0| 20 73 75 73 70 65 6e 64 | 53 74 61 63 6b 0d 67 6c | suspend|Stack.gl|
|00001be0| 6f 62 61 6c 20 4c 61 73 | 74 43 61 72 64 0d 65 6e |obal Las|tCard.en|
|00001bf0| 64 20 73 75 73 70 65 6e | 64 53 74 61 63 6b 0d 0d |d suspen|dStack..|
|00001c00| 6f 6e 20 64 6f 4d 65 6e | 75 20 77 68 61 74 0d 2d |on doMen|u what.-|
|00001c10| 2d 20 20 69 6e 74 65 72 | 63 65 70 74 20 76 61 72 |- inter|cept var|
|00001c20| 69 6f 75 73 20 6d 65 6e | 75 20 65 76 65 6e 74 73 |ious men|u events|
|00001c30| 0d 67 6c 6f 62 61 6c 20 | 4c 61 73 74 43 61 72 64 |.global |LastCard|
|00001c40| 2c 20 74 65 73 74 53 74 | 61 63 6b 2c 20 63 6f 75 |, testSt|ack, cou|
|00001c50| 72 73 65 43 61 72 64 0d | 69 66 20 77 68 61 74 20 |rseCard.|if what |
|00001c60| 69 73 20 22 51 75 69 74 | 20 48 79 70 65 72 43 61 |is "Quit| HyperCa|
|00001c70| 72 64 22 20 4f 52 20 77 | 68 61 74 20 69 73 20 22 |rd" OR w|hat is "|
|00001c80| 43 6c 6f 73 65 20 53 74 | 61 63 6b 22 20 74 68 65 |Close St|ack" the|
|00001c90| 6e 0d 69 66 20 74 68 65 | 72 65 20 69 73 20 61 20 |n.if the|re is a |
|00001ca0| 63 61 72 64 20 22 51 31 | 22 20 74 68 65 6e 20 20 |card "Q1|" then |
|00001cb0| 2d 2d 20 20 66 72 6f 6d | 20 6f 74 68 65 72 20 63 |-- from| other c|
|00001cc0| 61 72 64 73 20 6f 66 20 | 6c 6f 61 64 65 64 20 74 |ards of |loaded t|
|00001cd0| 65 73 74 0d 69 66 20 74 | 68 65 20 6e 61 6d 65 20 |est.if t|he name |
|00001ce0| 6f 66 20 74 68 69 73 20 | 62 67 20 ad 20 22 54 65 |of this |bg . "Te|
|00001cf0| 73 74 20 49 74 65 6d 22 | 20 74 68 65 6e 0d 6c 6f |st Item"| then.lo|
|00001d00| 63 6b 20 73 63 72 65 65 | 6e 0d 67 6f 20 63 64 20 |ck scree|n.go cd |
|00001d10| 22 51 31 22 0d 65 6e 64 | 20 69 66 0d 63 6c 69 63 |"Q1".end| if.clic|
|00001d20| 6b 20 61 74 20 74 68 65 | 20 6c 6f 63 20 6f 66 20 |k at the| loc of |
|00001d30| 62 67 20 62 74 6e 20 22 | 51 75 69 74 22 0d 65 6c |bg btn "|Quit".el|
|00001d40| 73 65 0d 70 61 73 73 20 | 64 6f 4d 65 6e 75 0d 65 |se.pass |doMenu.e|
|00001d50| 6e 64 20 69 66 0d 65 6c | 73 65 0d 70 61 73 73 20 |nd if.el|se.pass |
|00001d60| 64 6f 4d 65 6e 75 0d 65 | 6e 64 20 69 66 0d 65 6e |doMenu.e|nd if.en|
|00001d70| 64 20 64 6f 4d 65 6e 75 | 0d 0d 0d 2d 2d 2d 2d 2d |d doMenu|...-----|
|00001d80| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001d90| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001da0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 0d 2d 2d 20 20 20 20 |--------|-.-- |
|00001db0| 63 75 73 74 6f 6d 20 68 | 61 6e 64 6c 65 72 73 0d |custom h|andlers.|
|00001dc0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001dd0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001de0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 0d 0d |--------|------..|
|00001df0| 0d 6f 6e 20 70 75 73 68 | 54 6f 20 63 61 72 64 4e |.on push|To cardN|
|00001e00| 61 6d 65 0d 2d 2d 20 20 | 61 20 63 6f 6d 6d 6f 6e |ame.-- |a common|
|00001e10| 20 77 61 79 20 66 6f 72 | 20 67 6f 73 75 62 62 69 | way for| gosubbi|
|00001e20| 6e 67 20 74 6f 20 6f 74 | 68 65 72 20 63 61 72 64 |ng to ot|her card|
|00001e30| 73 2c 0d 2d 2d 20 20 77 | 68 69 63 68 20 77 69 6c |s,.-- w|hich wil|
|00001e40| 6c 20 75 73 65 20 70 6f | 70 42 61 63 6b 20 74 6f |l use po|pBack to|
|00001e50| 20 72 65 74 75 72 6e 0d | 70 75 73 68 20 63 61 72 | return.|push car|
|00001e60| 64 0d 76 69 73 75 61 6c | 20 65 66 66 65 63 74 20 |d.visual| effect |
|00001e70| 69 72 69 73 20 6f 70 65 | 6e 0d 67 6f 20 63 64 20 |iris ope|n.go cd |
|00001e80| 63 61 72 64 4e 61 6d 65 | 0d 65 6e 64 20 70 75 73 |cardName|.end pus|
|00001e90| 68 54 6f 0d 0d 0d 6f 6e | 20 70 6f 70 42 61 63 6b |hTo...on| popBack|
|00001ea0| 0d 2d 2d 20 20 74 68 69 | 73 20 77 6f 6e 27 74 20 |.-- thi|s won't |
|00001eb0| 65 78 65 63 75 74 65 20 | 69 66 20 74 68 65 20 70 |execute |if the p|
|00001ec0| 6f 70 70 65 64 20 63 61 | 72 64 20 69 73 20 48 6f |opped ca|rd is Ho|
|00001ed0| 6d 65 20 6f 72 20 61 6e | 79 74 68 69 6e 67 20 65 |me or an|ything e|
|00001ee0| 6c 73 65 0d 76 69 73 75 | 61 6c 20 65 66 66 65 63 |lse.visu|al effec|
|00001ef0| 74 20 69 72 69 73 20 63 | 6c 6f 73 65 0d 70 6f 70 |t iris c|lose.pop|
|00001f00| 20 63 61 72 64 20 69 6e | 74 6f 20 64 65 73 74 69 | card in|to desti|
|00001f10| 6e 61 74 69 6f 6e 0d 69 | 66 20 74 68 65 20 6c 6f |nation.i|f the lo|
|00001f20| 6e 67 20 6e 61 6d 65 20 | 6f 66 20 74 68 69 73 20 |ng name |of this |
|00001f30| 73 74 61 63 6b 20 69 73 | 20 6e 6f 74 20 69 6e 20 |stack is| not in |
|00001f40| 64 65 73 74 69 6e 61 74 | 69 6f 6e 20 74 68 65 6e |destinat|ion then|
|00001f50| 20 65 78 69 74 20 70 6f | 70 42 61 63 6b 0d 65 6c | exit po|pBack.el|
|00001f60| 73 65 20 67 6f 20 74 6f | 20 64 65 73 74 69 6e 61 |se go to| destina|
|00001f70| 74 69 6f 6e 0d 65 6e 64 | 20 70 6f 70 42 61 63 6b |tion.end| popBack|
|00001f80| 0d 0d 0d 6f 6e 20 69 6d | 70 6f 72 74 54 65 73 74 |...on im|portTest|
|00001f90| 0d 67 6c 6f 62 61 6c 20 | 71 43 6f 75 6e 74 20 20 |.global |qCount |
|00001fa0| 20 2d 2d 20 20 23 20 6f | 66 20 54 65 73 74 20 51 | -- # o|f Test Q|
|00001fb0| 75 65 73 74 69 6f 6e 73 | 2e 20 55 73 65 64 20 68 |uestions|. Used h|
|00001fc0| 65 72 65 20 61 6e 64 20 | 69 6e 20 4e 65 78 74 2f |ere and |in Next/|
|00001fd0| 50 72 65 76 20 62 75 74 | 74 6f 6e 20 68 61 6e 64 |Prev but|ton hand|
|00001fe0| 6c 65 72 73 0d 67 6c 6f | 62 61 6c 20 70 6f 70 70 |lers.glo|bal popp|
|00001ff0| 65 72 20 20 2d 2d 20 20 | 67 6c 6f 62 61 6c 20 73 |er -- |global s|
|00002000| 75 62 72 6f 75 74 69 6e | 65 20 66 6c 61 67 20 66 |ubroutin|e flag f|
|00002010| 6f 72 20 64 6f 75 62 6c | 65 2d 64 75 74 79 20 73 |or doubl|e-duty s|
|00002020| 63 72 65 65 6e 73 0d 67 | 6c 6f 62 61 6c 20 6f 75 |creens.g|lobal ou|
|00002030| 72 55 73 65 72 4c 65 76 | 65 6c 20 20 2d 2d 20 20 |rUserLev|el -- |
|00002040| 74 68 65 20 75 73 65 72 | 6c 65 76 65 6c 20 75 73 |the user|level us|
|00002050| 65 64 20 62 79 20 74 68 | 69 73 20 73 74 61 63 6b |ed by th|is stack|
|00002060| 0d 67 6c 6f 62 61 6c 20 | 74 65 73 74 6f 72 64 65 |.global |testorde|
|00002070| 72 0d 67 6c 6f 62 61 6c | 20 74 68 65 46 69 6c 65 |r.global| theFile|
|00002080| 20 20 2d 2d 20 20 75 73 | 65 64 20 69 6e 20 69 6d | -- us|ed in im|
|00002090| 70 6f 72 74 54 65 73 74 | 20 26 20 69 6e 20 72 65 |portTest| & in re|
|000020a0| 61 64 53 6f 6d 65 46 69 | 6c 65 28 29 20 66 6f 72 |adSomeFi|le() for|
|000020b0| 20 6e 61 6d 65 20 6f 66 | 20 74 68 65 20 54 65 73 | name of| the Tes|
|000020c0| 74 20 3f 20 74 65 78 74 | 2f 50 49 43 54 20 66 69 |t ? text|/PICT fi|
|000020d0| 6c 65 0d 2d 2d 20 20 69 | 66 20 74 68 69 73 20 74 |le.-- i|f this t|
|000020e0| 65 73 74 20 69 73 20 6c | 6f 61 64 65 64 20 74 68 |est is l|oaded th|
|000020f0| 65 6e 20 64 6f 6e 27 74 | 20 64 6f 20 69 74 20 61 |en don't| do it a|
|00002100| 67 61 69 6e 0d 2d 2d 20 | 69 66 20 63 68 61 72 20 |gain.-- |if char |
|00002110| 31 20 6f 66 20 74 68 65 | 20 73 68 6f 72 74 20 6e |1 of the| short n|
|00002120| 61 6d 65 20 6f 66 20 74 | 68 65 20 6c 61 73 74 20 |ame of t|he last |
|00002130| 63 61 72 64 20 69 73 20 | 22 51 22 20 74 68 65 6e |card is |"Q" then|
|00002140| 20 65 78 69 74 20 69 6d | 70 6f 72 74 54 65 73 74 | exit im|portTest|
|00002150| 0d 67 6c 6f 62 61 6c 20 | 6c 61 73 74 67 72 61 70 |.global |lastgrap|
|00002160| 68 69 63 77 69 6e 64 6f | 77 6c 6f 63 0d 70 75 74 |hicwindo|wloc.put|
|00002170| 20 65 6d 70 74 79 20 69 | 6e 74 6f 20 6c 61 73 74 | empty i|nto last|
|00002180| 67 72 61 70 68 69 63 77 | 69 6e 64 6f 77 6c 6f 63 |graphicw|indowloc|
|00002190| 0d 0d 76 69 73 75 61 6c | 20 65 66 66 65 63 74 20 |..visual| effect |
|000021a0| 64 69 73 73 6f 6c 76 65 | 20 66 61 73 74 0d 67 6f |dissolve| fast.go|
|000021b0| 20 63 64 20 22 54 65 73 | 74 20 54 69 74 6c 65 22 | cd "Tes|t Title"|
|000021c0| 20 20 2d 2d 20 20 66 6f | 72 20 73 6f 6d 65 74 68 | -- fo|r someth|
|000021d0| 69 6e 67 20 70 75 72 74 | 79 20 74 6f 20 6c 6f 6f |ing purt|y to loo|
|000021e0| 6b 20 61 74 20 77 68 69 | 6c 65 20 77 65 c9 0d 68 |k at whi|le we..h|
|000021f0| 69 64 65 20 63 64 20 70 | 69 63 74 75 72 65 0d 69 |ide cd p|icture.i|
|00002200| 66 20 74 68 65 20 75 73 | 65 72 6c 65 76 65 6c 20 |f the us|erlevel |
|00002210| 3c 20 33 20 74 68 65 6e | 0d 73 65 74 20 74 68 65 |< 3 then|.set the|
|00002220| 20 75 73 65 72 4c 65 76 | 65 6c 20 74 6f 20 33 20 | userLev|el to 3 |
|00002230| 20 2d 2d 20 20 72 65 71 | 27 64 20 66 6f 72 20 63 | -- req|'d for c|
|00002240| 6f 70 79 2f 70 61 73 74 | 65 20 63 61 72 64 73 0d |opy/past|e cards.|
|00002250| 65 6e 64 20 69 66 0d 0d | 72 65 70 65 61 74 20 77 |end if..|repeat w|
|00002260| 69 74 68 20 7a 20 3d 20 | 31 20 74 6f 20 74 68 65 |ith z = |1 to the|
|00002270| 20 6e 75 6d 62 65 72 20 | 6f 66 20 63 61 72 64 73 | number |of cards|
|00002280| 20 6f 66 20 62 6b 67 6e | 64 20 22 54 65 73 74 20 | of bkgn|d "Test |
|00002290| 46 69 6c 65 73 22 0d 70 | 75 74 20 74 68 65 20 73 |Files".p|ut the s|
|000022a0| 68 6f 72 74 20 6e 61 6d | 65 20 6f 66 20 63 61 72 |hort nam|e of car|
|000022b0| 64 20 7a 20 6f 66 20 62 | 6b 67 6e 64 20 22 54 65 |d z of b|kgnd "Te|
|000022c0| 73 74 20 46 69 6c 65 73 | 22 20 69 6e 74 6f 20 6c |st Files|" into l|
|000022d0| 69 6e 65 20 7a 20 6f 66 | 20 74 65 73 74 73 0d 65 |ine z of| tests.e|
|000022e0| 6e 64 20 72 65 70 65 61 | 74 0d 70 75 74 20 73 68 |nd repea|t.put sh|
|000022f0| 6f 77 6c 69 73 74 28 74 | 65 73 74 73 2c 72 65 74 |owlist(t|ests,ret|
|00002300| 75 72 6e 2c 22 43 68 6f | 6f 73 65 20 61 20 74 65 |urn,"Cho|ose a te|
|00002310| 73 74 22 2c 66 61 6c 73 | 65 2c 22 4f 4b 2c 43 61 |st",fals|e,"OK,Ca|
|00002320| 6e 63 65 6c 22 29 20 69 | 6e 74 6f 20 77 68 69 63 |ncel") i|nto whic|
|00002330| 68 74 65 73 74 0d 69 66 | 20 6c 69 6e 65 20 31 20 |htest.if| line 1 |
|00002340| 6f 66 20 77 68 69 63 68 | 74 65 73 74 20 3d 20 22 |of which|test = "|
|00002350| 43 61 6e 63 65 6c 22 20 | 74 68 65 6e 0d 76 69 73 |Cancel" |then.vis|
|00002360| 75 61 6c 20 64 69 73 73 | 6f 6c 76 65 0d 67 6f 20 |ual diss|olve.go |
|00002370| 63 64 20 22 57 65 6c 63 | 6f 6d 65 20 31 22 0d 65 |cd "Welc|ome 1".e|
|00002380| 78 69 74 20 69 6d 70 6f | 72 74 54 65 73 74 20 20 |xit impo|rtTest |
|00002390| 2d 2d 20 20 77 68 61 74 | 20 77 69 6c 6c 20 77 65 |-- what| will we|
|000023a0| 20 72 65 61 6c 6c 79 20 | 64 6f 3f 0d 65 6e 64 20 | really |do?.end |
|000023b0| 69 66 0d 2d 2d 20 69 66 | 20 74 68 65 20 68 69 6c |if.-- if| the hil|
|000023c0| 69 74 65 20 6f 66 20 63 | 64 20 62 74 6e 20 22 4d |ite of c|d btn "M|
|000023d0| 61 63 20 46 75 6e 20 32 | 2e 34 22 20 6f 66 20 63 |ac Fun 2|.4" of c|
|000023e0| 64 20 22 53 74 75 64 65 | 6e 74 20 49 44 22 20 69 |d "Stude|nt ID" i|
|000023f0| 73 20 74 72 75 65 20 74 | 68 65 6e 0d 2d 2d 20 70 |s true t|hen.-- p|
|00002400| 75 74 20 6c 69 6e 65 20 | 31 20 6f 66 20 74 65 73 |ut line |1 of tes|
|00002410| 74 73 20 69 6e 74 6f 20 | 74 68 65 46 69 6c 65 0d |ts into |theFile.|
|00002420| 2d 2d 20 65 6c 73 65 0d | 2d 2d 20 70 75 74 20 6c |-- else.|-- put l|
|00002430| 69 6e 65 20 32 20 6f 66 | 20 74 65 73 74 73 20 69 |ine 2 of| tests i|
|00002440| 6e 74 6f 20 74 68 65 46 | 69 6c 65 0d 2d 2d 20 65 |nto theF|ile.-- e|
|00002450| 6e 64 20 69 66 0d 70 75 | 74 20 69 74 65 6d 20 31 |nd if.pu|t item 1|
|00002460| 20 6f 66 20 6c 69 6e 65 | 20 32 20 6f 66 20 77 68 | of line| 2 of wh|
|00002470| 69 63 68 74 65 73 74 20 | 69 6e 74 6f 20 74 68 65 |ichtest |into the|
|00002480| 46 69 6c 65 0d 70 75 74 | 20 6c 69 6e 65 20 31 20 |File.put| line 1 |
|00002490| 6f 66 20 66 69 65 6c 64 | 20 31 20 6f 66 20 63 61 |of field| 1 of ca|
|000024a0| 72 64 20 74 68 65 46 69 | 6c 65 20 69 6e 74 6f 20 |rd theFi|le into |
|000024b0| 74 65 73 74 4e 61 6d 65 | 20 20 2d 2d 20 20 69 74 |testName| -- it|
|000024c0| 65 6d 20 31 20 3d 20 4e | 61 6d 65 2c 20 69 74 65 |em 1 = N|ame, ite|
|000024d0| 6d 20 32 20 3d 20 41 70 | 70 6c 65 20 50 2f 4e 0d |m 2 = Ap|ple P/N.|
|000024e0| 70 75 74 20 69 74 65 6d | 20 31 20 6f 66 20 6c 69 |put item| 1 of li|
|000024f0| 6e 65 20 32 20 6f 66 20 | 66 69 65 6c 64 20 31 20 |ne 2 of |field 1 |
|00002500| 6f 66 20 63 61 72 64 20 | 74 68 65 46 69 6c 65 20 |of card |theFile |
|00002510| 69 6e 74 6f 20 71 43 6f | 75 6e 74 20 20 2d 2d 20 |into qCo|unt -- |
|00002520| 20 74 68 65 20 23 20 71 | 75 65 73 74 69 6f 6e 73 | the # q|uestions|
|00002530| 20 69 6e 20 74 68 65 20 | 74 65 73 74 0d 70 75 74 | in the |test.put|
|00002540| 20 22 50 6c 65 61 73 65 | 20 77 61 69 74 20 77 68 | "Please| wait wh|
|00002550| 69 6c 65 20 74 68 65 20 | 73 74 61 63 6b 20 62 75 |ile the |stack bu|
|00002560| 69 6c 64 73 2e 20 49 74 | 20 77 69 6c 6c 20 74 61 |ilds. It| will ta|
|00002570| 6b 65 20 33 20 6f 72 20 | 34 20 6d 69 6e 75 74 65 |ke 3 or |4 minute|
|00002580| 73 2e 22 0d 0d 2d 2d 20 | 73 65 71 75 65 6e 74 69 |s."..-- |sequenti|
|00002590| 61 6c 20 71 75 65 73 74 | 69 6f 6e 20 6f 72 64 65 |al quest|ion orde|
|000025a0| 72 0d 2d 2d 20 70 75 74 | 20 65 6d 70 74 79 20 69 |r.-- put| empty i|
|000025b0| 6e 74 6f 20 74 65 73 74 | 6f 72 64 65 72 0d 2d 2d |nto test|order.--|
|000025c0| 20 70 75 74 20 71 43 6f | 75 6e 74 20 69 6e 74 6f | put qCo|unt into|
|000025d0| 20 74 65 6d 70 0d 2d 2d | 20 72 65 70 65 61 74 20 | temp.--| repeat |
|000025e0| 77 69 74 68 20 69 20 3d | 20 31 20 74 6f 20 71 43 |with i =| 1 to qC|
|000025f0| 6f 75 6e 74 0d 2d 2d 20 | 70 75 74 20 69 20 69 6e |ount.-- |put i in|
|00002600| 74 6f 20 69 74 65 6d 20 | 69 20 6f 66 20 74 65 6d |to item |i of tem|
|00002610| 70 6f 72 64 65 72 0d 2d | 2d 20 65 6e 64 20 72 65 |porder.-|- end re|
|00002620| 70 65 61 74 0d 2d 2d 20 | 70 75 74 20 74 65 6d 70 |peat.-- |put temp|
|00002630| 6f 72 64 65 72 20 69 6e | 74 6f 20 74 65 73 74 6f |order in|to testo|
|00002640| 72 64 65 72 0d 0d 2d 2d | 20 72 61 6e 64 6f 6d 69 |rder..--| randomi|
|00002650| 7a 65 20 71 75 65 73 74 | 69 6f 6e 20 6f 72 64 65 |ze quest|ion orde|
|00002660| 72 0d 70 75 74 20 65 6d | 70 74 79 20 69 6e 74 6f |r.put em|pty into|
|00002670| 20 74 65 73 74 6f 72 64 | 65 72 0d 70 75 74 20 22 | testord|er.put "|
|00002680| 22 20 69 6e 74 6f 20 74 | 68 65 69 6e 73 65 72 74 |" into t|heinsert|
|00002690| 65 64 71 75 65 73 74 69 | 6f 6e 73 0d 70 75 74 20 |edquesti|ons.put |
|000026a0| 30 20 69 6e 74 6f 20 6e | 75 6d 69 74 65 6d 73 69 |0 into n|umitemsi|
|000026b0| 6e 73 65 72 74 65 64 0d | 72 65 70 65 61 74 20 75 |nserted.|repeat u|
|000026c0| 6e 74 69 6c 20 6e 75 6d | 69 74 65 6d 73 69 6e 73 |ntil num|itemsins|
|000026d0| 65 72 74 65 64 20 3d 20 | 71 43 6f 75 6e 74 0d 70 |erted = |qCount.p|
|000026e0| 75 74 20 74 68 65 20 72 | 61 6e 64 6f 6d 20 6f 66 |ut the r|andom of|
|000026f0| 20 71 43 6f 75 6e 74 20 | 69 6e 74 6f 20 72 61 6e | qCount |into ran|
|00002700| 64 6f 6d 71 75 65 73 6e | 6f 54 0d 70 75 74 20 66 |domquesn|oT.put f|
|00002710| 61 6c 73 65 20 69 6e 74 | 6f 20 61 6c 72 65 61 64 |alse int|o alread|
|00002720| 79 69 6e 73 65 72 74 65 | 64 0d 69 66 20 6c 69 6e |yinserte|d.if lin|
|00002730| 65 20 72 61 6e 64 6f 6d | 71 75 65 73 6e 6f 54 20 |e random|quesnoT |
|00002740| 6f 66 20 74 68 65 69 6e | 73 65 72 74 65 64 71 75 |of thein|sertedqu|
|00002750| 65 73 74 69 6f 6e 73 20 | 3d 20 22 54 22 20 74 68 |estions |= "T" th|
|00002760| 65 6e 20 70 75 74 20 74 | 72 75 65 20 69 6e 74 6f |en put t|rue into|
|00002770| 20 61 6c 72 65 61 64 79 | 69 6e 73 65 72 74 65 64 | already|inserted|
|00002780| 0d 73 65 74 20 63 75 72 | 73 6f 72 20 74 6f 20 62 |.set cur|sor to b|
|00002790| 75 73 79 0d 69 66 20 6e | 6f 74 20 61 6c 72 65 61 |usy.if n|ot alrea|
|000027a0| 64 79 69 6e 73 65 72 74 | 65 64 20 74 68 65 6e 0d |dyinsert|ed then.|
|000027b0| 61 64 64 20 31 20 74 6f | 20 6e 75 6d 69 74 65 6d |add 1 to| numitem|
|000027c0| 73 69 6e 73 65 72 74 65 | 64 0d 70 75 74 20 22 54 |sinserte|d.put "T|
|000027d0| 22 20 69 6e 74 6f 20 6c | 69 6e 65 20 72 61 6e 64 |" into l|ine rand|
|000027e0| 6f 6d 71 75 65 73 6e 6f | 54 20 6f 66 20 74 68 65 |omquesno|T of the|
|000027f0| 69 6e 73 65 72 74 65 64 | 71 75 65 73 74 69 6f 6e |inserted|question|
|00002800| 73 0d 70 75 74 20 72 61 | 6e 64 6f 6d 71 75 65 73 |s.put ra|ndomques|
|00002810| 6e 6f 54 20 69 6e 74 6f | 20 69 74 65 6d 20 6e 75 |noT into| item nu|
|00002820| 6d 69 74 65 6d 73 69 6e | 73 65 72 74 65 64 20 6f |mitemsin|serted o|
|00002830| 66 20 74 65 73 74 6f 72 | 64 65 72 0d 65 6e 64 20 |f testor|der.end |
|00002840| 69 66 0d 65 6e 64 20 72 | 65 70 65 61 74 0d 0d 69 |if.end r|epeat..i|
|00002850| 66 20 74 68 65 20 76 61 | 6c 75 65 20 6f 66 20 71 |f the va|lue of q|
|00002860| 43 6f 75 6e 74 20 3c 20 | 31 20 6f 72 20 74 68 65 |Count < |1 or the|
|00002870| 20 76 61 6c 75 65 20 6f | 66 20 71 43 6f 75 6e 74 | value o|f qCount|
|00002880| 20 3e 20 31 32 30 20 74 | 68 65 6e 0d 61 6e 73 77 | > 120 t|hen.answ|
|00002890| 65 72 20 22 54 68 69 73 | 20 64 6f 65 73 6e d5 74 |er "This| doesn.t|
|000028a0| 20 6c 6f 6f 6b 20 6c 69 | 6b 65 20 61 20 76 61 6c | look li|ke a val|
|000028b0| 69 64 20 74 65 73 74 20 | 66 69 6c 65 2e 22 20 77 |id test |file." w|
|000028c0| 69 74 68 20 22 52 61 74 | 73 21 22 0d 61 6e 73 77 |ith "Rat|s!".answ|
|000028d0| 65 72 20 22 71 43 6f 75 | 6e 74 20 3d 20 22 20 26 |er "qCou|nt = " &|
|000028e0| 20 72 65 74 75 72 6e 20 | 26 20 71 43 6f 75 6e 74 | return |& qCount|
|000028f0| 0d 67 6f 20 74 6f 20 66 | 69 72 73 74 20 63 61 72 |.go to f|irst car|
|00002900| 64 20 20 2d 2d 20 20 6f | 72 20 77 68 65 72 65 20 |d -- o|r where |
|00002910| 65 6c 73 65 20 6f 6e 20 | 61 20 62 6c 6f 77 2d 75 |else on |a blow-u|
|00002920| 70 3f 3f 0d 65 78 69 74 | 20 69 6d 70 6f 72 74 54 |p??.exit| importT|
|00002930| 65 73 74 0d 65 6e 64 20 | 69 66 0d 0d 76 69 73 75 |est.end |if..visu|
|00002940| 61 6c 20 62 61 72 6e 20 | 64 6f 6f 72 20 6f 70 65 |al barn |door ope|
|00002950| 6e 0d 67 6f 20 63 64 20 | 22 54 65 73 74 20 54 69 |n.go cd |"Test Ti|
|00002960| 74 6c 65 22 0d 73 68 6f | 77 20 63 64 20 70 69 63 |tle".sho|w cd pic|
|00002970| 74 75 72 65 0d 70 75 74 | 20 72 65 74 75 72 6e 20 |ture.put| return |
|00002980| 26 20 69 74 65 6d 20 31 | 20 6f 66 20 74 65 73 74 |& item 1| of test|
|00002990| 4e 61 6d 65 20 69 6e 74 | 6f 20 63 64 20 66 6c 64 |Name int|o cd fld|
|000029a0| 20 22 54 69 74 6c 65 22 | 20 6f 66 20 63 64 20 22 | "Title"| of cd "|
|000029b0| 54 65 73 74 20 54 69 74 | 6c 65 22 0d 73 65 74 20 |Test Tit|le".set |
|000029c0| 63 75 72 73 6f 72 20 74 | 6f 20 62 75 73 79 0d 6c |cursor t|o busy.l|
|000029d0| 6f 63 6b 20 73 63 72 65 | 65 6e 20 20 2d 2d 20 20 |ock scre|en -- |
|000029e0| 66 6f 72 20 73 70 65 65 | 64 20 61 6e 64 20 65 6c |for spee|d and el|
|000029f0| 65 67 61 6e 63 65 20 28 | 61 6e 64 20 6e 6f 20 70 |egance (|and no p|
|00002a00| 65 65 6b 69 6e 67 29 0d | 73 65 74 20 6c 6f 63 6b |eeking).|set lock|
|00002a10| 4d 65 73 73 61 67 65 73 | 20 74 6f 20 54 52 55 45 |Messages| to TRUE|
|00002a20| 20 20 2d 2d 20 20 73 75 | 70 70 72 65 73 73 20 6f | -- su|ppress o|
|00002a30| 70 65 6e 43 61 72 64 20 | 61 6e 64 20 63 6c 6f 73 |penCard |and clos|
|00002a40| 65 43 61 72 64 20 6d 65 | 73 73 61 67 65 73 20 64 |eCard me|ssages d|
|00002a50| 75 72 69 6e 67 20 62 75 | 69 6c 64 0d 67 6f 20 63 |uring bu|ild.go c|
|00002a60| 64 20 31 20 6f 66 20 62 | 67 20 22 54 65 73 74 20 |d 1 of b|g "Test |
|00002a70| 49 74 65 6d 22 0d 70 75 | 74 20 69 74 65 6d 20 31 |Item".pu|t item 1|
|00002a80| 20 6f 66 20 74 65 73 74 | 4e 61 6d 65 20 69 6e 74 | of test|Name int|
|00002a90| 6f 20 6c 69 6e 65 20 31 | 20 6f 66 20 62 67 20 66 |o line 1| of bg f|
|00002aa0| 6c 64 20 22 54 65 73 74 | 20 4e 61 6d 65 22 20 20 |ld "Test| Name" |
|00002ab0| 2d 2d 20 20 54 65 73 74 | 20 4e 61 6d 65 0d 70 75 |-- Test| Name.pu|
|00002ac0| 74 20 69 74 65 6d 20 32 | 20 6f 66 20 74 65 73 74 |t item 2| of test|
|00002ad0| 4e 61 6d 65 20 69 6e 74 | 6f 20 6c 69 6e 65 20 32 |Name int|o line 2|
|00002ae0| 20 6f 66 20 62 67 20 66 | 6c 64 20 22 54 65 73 74 | of bg f|ld "Test|
|00002af0| 20 4e 61 6d 65 22 20 20 | 2d 2d 20 20 41 70 70 6c | Name" |-- Appl|
|00002b00| 65 20 50 2f 4e 20 28 6e | 6f 74 20 76 69 73 69 62 |e P/N (n|ot visib|
|00002b10| 6c 65 29 0d 2d 2d 20 20 | 2d 2d 20 20 73 74 61 72 |le).-- |-- star|
|00002b20| 74 20 6d 61 69 6e 20 69 | 6d 70 6f 72 74 20 6c 6f |t main i|mport lo|
|00002b30| 6f 70 20 20 2d 2d 20 20 | 2d 2d 0d 72 65 70 65 61 |op -- |--.repea|
|00002b40| 74 20 77 69 74 68 20 69 | 20 3d 20 31 20 74 6f 20 |t with i| = 1 to |
|00002b50| 71 43 6f 75 6e 74 0d 73 | 65 74 20 63 75 72 73 6f |qCount.s|et curso|
|00002b60| 72 20 74 6f 20 62 75 73 | 79 0d 70 75 74 20 69 74 |r to bus|y.put it|
|00002b70| 65 6d 20 69 20 6f 66 20 | 74 65 73 74 6f 72 64 65 |em i of |testorde|
|00002b80| 72 20 69 6e 74 6f 20 77 | 68 69 63 68 71 75 65 73 |r into w|hichques|
|00002b90| 74 69 6f 6e 0d 70 75 74 | 20 28 28 77 68 69 63 68 |tion.put| ((which|
|00002ba0| 71 75 65 73 74 69 6f 6e | 20 2a 20 39 29 20 2d 20 |question| * 9) - |
|00002bb0| 36 29 20 69 6e 74 6f 20 | 66 69 6c 65 6c 69 6e 65 |6) into |fileline|
|00002bc0| 0d 70 75 74 20 69 74 65 | 6d 20 31 20 6f 66 20 6c |.put ite|m 1 of l|
|00002bd0| 69 6e 65 20 66 69 6c 65 | 6c 69 6e 65 20 6f 66 20 |ine file|line of |
|00002be0| 66 69 65 6c 64 20 31 20 | 6f 66 20 63 61 72 64 20 |field 1 |of card |
|00002bf0| 74 68 65 46 69 6c 65 20 | 69 6e 74 6f 20 71 4e 75 |theFile |into qNu|
|00002c00| 6d 62 65 72 20 20 2d 2d | 20 20 51 75 65 73 74 69 |mber --| Questi|
|00002c10| 6f 6e 20 23 2c 20 68 6f | 6c 64 20 66 6f 72 20 66 |on #, ho|ld for f|
|00002c20| 69 65 6c 64 20 22 51 20 | 4e 75 6d 22 0d 70 75 74 |ield "Q |Num".put|
|00002c30| 20 69 74 65 6d 20 32 20 | 6f 66 20 6c 69 6e 65 20 | item 2 |of line |
|00002c40| 66 69 6c 65 6c 69 6e 65 | 20 6f 66 20 66 69 65 6c |fileline| of fiel|
|00002c50| 64 20 31 20 6f 66 20 63 | 61 72 64 20 74 68 65 46 |d 1 of c|ard theF|
|00002c60| 69 6c 65 20 69 6e 74 6f | 20 63 6f 72 72 65 63 74 |ile into| correct|
|00002c70| 0d 61 64 64 20 31 20 74 | 6f 20 66 69 6c 65 6c 69 |.add 1 t|o fileli|
|00002c80| 6e 65 0d 70 75 74 20 6c | 69 6e 65 20 66 69 6c 65 |ne.put l|ine file|
|00002c90| 6c 69 6e 65 20 6f 66 20 | 66 69 65 6c 64 20 31 20 |line of |field 1 |
|00002ca0| 6f 66 20 63 61 72 64 20 | 74 68 65 46 69 6c 65 20 |of card |theFile |
|00002cb0| 69 6e 74 6f 20 77 68 69 | 63 68 54 65 6d 70 6c 61 |into whi|chTempla|
|00002cc0| 74 65 20 20 2d 2d 20 20 | 31 2d 36 2c 20 66 6f 72 |te -- |1-6, for|
|00002cd0| 20 77 68 69 63 68 20 51 | 20 74 65 6d 70 6c 61 74 | which Q| templat|
|00002ce0| 65 20 74 6f 20 75 73 65 | 0d 61 64 64 20 31 20 74 |e to use|.add 1 t|
|00002cf0| 6f 20 66 69 6c 65 6c 69 | 6e 65 0d 2d 2d 20 20 61 |o fileli|ne.-- a|
|00002d00| 64 64 20 74 65 73 74 20 | 63 61 72 64 20 74 6f 20 |dd test |card to |
|00002d10| 65 6e 64 20 6f 66 20 73 | 74 61 63 6b 20 20 2d 2d |end of s|tack --|
|00002d20| 20 20 74 68 69 73 20 69 | 73 20 77 68 61 74 20 74 | this i|s what t|
|00002d30| 61 6b 65 73 20 73 6f 20 | 6c 6f 6e 67 0d 73 65 74 |akes so |long.set|
|00002d40| 20 74 68 65 20 63 61 6e | 74 41 62 6f 72 74 20 6f | the can|tAbort o|
|00002d50| 66 20 74 68 69 73 20 73 | 74 61 63 6b 20 74 6f 20 |f this s|tack to |
|00002d60| 54 52 55 45 20 20 2d 2d | 20 20 64 6f 6e 27 74 20 |TRUE --| don't |
|00002d70| 69 6e 74 65 72 72 75 70 | 74 20 74 68 69 73 21 0d |interrup|t this!.|
|00002d80| 67 6f 20 74 6f 20 63 61 | 72 64 20 22 54 65 6d 70 |go to ca|rd "Temp|
|00002d90| 6c 61 74 65 22 20 26 20 | 77 68 69 63 68 54 65 6d |late" & |whichTem|
|00002da0| 70 6c 61 74 65 0d 64 6f | 4d 65 6e 75 20 22 43 6f |plate.do|Menu "Co|
|00002db0| 70 79 20 43 61 72 64 22 | 0d 67 6f 20 74 6f 20 6c |py Card"|.go to l|
|00002dc0| 61 73 74 20 63 61 72 64 | 0d 73 65 74 20 63 75 72 |ast card|.set cur|
|00002dd0| 73 6f 72 20 74 6f 20 62 | 75 73 79 0d 64 6f 4d 65 |sor to b|usy.doMe|
|00002de0| 6e 75 20 22 50 61 73 74 | 65 20 43 61 72 64 22 20 |nu "Past|e Card" |
|00002df0| 20 2d 2d 20 20 6d 61 6b | 65 20 61 20 63 61 72 64 | -- mak|e a card|
|00002e00| 20 66 6f 72 20 74 68 69 | 73 20 69 74 65 6d 20 6f | for thi|s item o|
|00002e10| 66 20 73 70 65 63 27 64 | 20 74 79 70 65 0d 70 75 |f spec'd| type.pu|
|00002e20| 74 20 69 20 26 20 22 2e | 22 20 69 6e 74 6f 20 63 |t i & ".|" into c|
|00002e30| 61 72 64 20 66 69 65 6c | 64 20 22 51 20 4e 75 6d |ard fiel|d "Q Num|
|00002e40| 22 20 20 2d 2d 20 20 6e | 6f 77 20 70 75 74 20 74 |" -- n|ow put t|
|00002e50| 68 65 20 71 75 65 73 74 | 69 6f 6e 20 6e 75 6d 62 |he quest|ion numb|
|00002e60| 65 72 20 69 6e c9 0d 73 | 65 74 20 74 68 65 20 6e |er in..s|et the n|
|00002e70| 61 6d 65 20 6f 66 20 74 | 68 69 73 20 63 61 72 64 |ame of t|his card|
|00002e80| 20 74 6f 20 22 51 22 20 | 26 20 69 0d 73 65 74 20 | to "Q" |& i.set |
|00002e90| 74 68 65 20 63 61 6e 74 | 41 62 6f 72 74 20 6f 66 |the cant|Abort of|
|00002ea0| 20 74 68 69 73 20 73 74 | 61 63 6b 20 74 6f 20 46 | this st|ack to F|
|00002eb0| 41 4c 53 45 20 20 2d 2d | 20 20 74 68 65 20 63 61 |ALSE --| the ca|
|00002ec0| 72 64 20 77 69 6c 6c 20 | 62 65 20 6e 61 6d 65 64 |rd will |be named|
|00002ed0| 20 63 6f 72 72 65 63 74 | 6c 79 0d 70 75 74 20 63 | correct|ly.put c|
|00002ee0| 6f 72 72 65 63 74 20 69 | 6e 74 6f 20 69 74 65 6d |orrect i|nto item|
|00002ef0| 20 31 20 6f 66 20 6c 69 | 6e 65 20 69 20 6f 66 20 | 1 of li|ne i of |
|00002f00| 66 69 65 6c 64 20 22 70 | 61 72 61 6d 73 22 0d 70 |field "p|arams".p|
|00002f10| 75 74 20 46 41 4c 53 45 | 20 69 6e 74 6f 20 69 74 |ut FALSE| into it|
|00002f20| 65 6d 20 32 20 6f 66 20 | 6c 69 6e 65 20 69 20 6f |em 2 of |line i o|
|00002f30| 66 20 66 69 65 6c 64 20 | 22 70 61 72 61 6d 73 22 |f field |"params"|
|00002f40| 0d 70 75 74 20 71 4e 75 | 6d 62 65 72 20 69 6e 74 |.put qNu|mber int|
|00002f50| 6f 20 69 74 65 6d 20 33 | 20 6f 66 20 6c 69 6e 65 |o item 3| of line|
|00002f60| 20 69 20 6f 66 20 66 69 | 65 6c 64 20 22 70 61 72 | i of fi|eld "par|
|00002f70| 61 6d 73 22 0d 70 75 74 | 20 6c 69 6e 65 20 66 69 |ams".put| line fi|
|00002f80| 6c 65 6c 69 6e 65 20 6f | 66 20 66 69 65 6c 64 20 |leline o|f field |
|00002f90| 31 20 6f 66 20 63 61 72 | 64 20 74 68 65 46 69 6c |1 of car|d theFil|
|00002fa0| 65 20 69 6e 74 6f 20 63 | 61 72 64 20 66 69 65 6c |e into c|ard fiel|
|00002fb0| 64 20 22 51 75 65 73 74 | 69 6f 6e 22 20 20 2d 2d |d "Quest|ion" --|
|00002fc0| 20 20 c9 61 6e 64 20 6c | 6f 61 64 20 74 68 65 20 | .and l|oad the |
|00002fd0| 66 69 65 6c 64 73 c9 0d | 61 64 64 20 31 20 74 6f |fields..|add 1 to|
|00002fe0| 20 66 69 6c 65 6c 69 6e | 65 0d 70 75 74 20 6c 69 | filelin|e.put li|
|00002ff0| 6e 65 20 66 69 6c 65 6c | 69 6e 65 20 6f 66 20 66 |ne filel|ine of f|
|00003000| 69 65 6c 64 20 31 20 6f | 66 20 63 61 72 64 20 74 |ield 1 o|f card t|
|00003010| 68 65 46 69 6c 65 20 69 | 6e 74 6f 20 63 61 72 64 |heFile i|nto card|
|00003020| 20 66 69 65 6c 64 20 22 | 41 22 0d 69 66 20 74 68 | field "|A".if th|
|00003030| 65 20 73 63 72 69 70 74 | 20 6f 66 20 74 68 69 73 |e script| of this|
|00003040| 20 63 64 20 63 6f 6e 74 | 61 69 6e 73 20 22 6f 6e | cd cont|ains "on|
|00003050| 20 64 6f 52 65 74 75 72 | 6e 73 22 20 74 68 65 6e | doRetur|ns" then|
|00003060| 0d 73 65 6e 64 20 64 6f | 52 65 74 75 72 6e 73 20 |.send do|Returns |
|00003070| 74 6f 20 74 68 69 73 20 | 63 64 0d 65 6e 64 20 69 |to this |cd.end i|
|00003080| 66 0d 61 64 64 20 31 20 | 74 6f 20 66 69 6c 65 6c |f.add 1 |to filel|
|00003090| 69 6e 65 0d 69 66 20 74 | 68 65 72 65 20 69 73 20 |ine.if t|here is |
|000030a0| 61 20 63 64 20 66 6c 64 | 20 22 42 22 20 74 68 65 |a cd fld| "B" the|
|000030b0| 6e 0d 70 75 74 20 6c 69 | 6e 65 20 66 69 6c 65 6c |n.put li|ne filel|
|000030c0| 69 6e 65 20 6f 66 20 66 | 69 65 6c 64 20 31 20 6f |ine of f|ield 1 o|
|000030d0| 66 20 63 61 72 64 20 74 | 68 65 46 69 6c 65 20 69 |f card t|heFile i|
|000030e0| 6e 74 6f 20 63 61 72 64 | 20 66 69 65 6c 64 20 22 |nto card| field "|
|000030f0| 42 22 0d 65 6e 64 20 69 | 66 0d 61 64 64 20 31 20 |B".end i|f.add 1 |
|00003100| 74 6f 20 66 69 6c 65 6c | 69 6e 65 0d 69 66 20 74 |to filel|ine.if t|
|00003110| 68 65 72 65 20 69 73 20 | 61 20 63 64 20 66 6c 64 |here is |a cd fld|
|00003120| 20 22 43 22 20 74 68 65 | 6e 0d 70 75 74 20 6c 69 | "C" the|n.put li|
|00003130| 6e 65 20 66 69 6c 65 6c | 69 6e 65 20 6f 66 20 66 |ne filel|ine of f|
|00003140| 69 65 6c 64 20 31 20 6f | 66 20 63 61 72 64 20 74 |ield 1 o|f card t|
|00003150| 68 65 46 69 6c 65 20 69 | 6e 74 6f 20 63 61 72 64 |heFile i|nto card|
|00003160| 20 66 69 65 6c 64 20 22 | 43 22 0d 65 6e 64 20 69 | field "|C".end i|
|00003170| 66 0d 61 64 64 20 31 20 | 74 6f 20 66 69 6c 65 6c |f.add 1 |to filel|
|00003180| 69 6e 65 0d 69 66 20 74 | 68 65 72 65 20 69 73 20 |ine.if t|here is |
|00003190| 61 20 63 64 20 66 6c 64 | 20 22 44 22 20 74 68 65 |a cd fld| "D" the|
|000031a0| 6e 0d 70 75 74 20 6c 69 | 6e 65 20 66 69 6c 65 6c |n.put li|ne filel|
|000031b0| 69 6e 65 20 6f 66 20 66 | 69 65 6c 64 20 31 20 6f |ine of f|ield 1 o|
|000031c0| 66 20 63 61 72 64 20 74 | 68 65 46 69 6c 65 20 69 |f card t|heFile i|
|000031d0| 6e 74 6f 20 63 61 72 64 | 20 66 69 65 6c 64 20 22 |nto card| field "|
|000031e0| 44 22 0d 65 6e 64 20 69 | 66 0d 61 64 64 20 31 20 |D".end i|f.add 1 |
|000031f0| 74 6f 20 66 69 6c 65 6c | 69 6e 65 0d 69 66 20 74 |to filel|ine.if t|
|00003200| 68 65 72 65 20 69 73 20 | 61 20 63 64 20 66 6c 64 |here is |a cd fld|
|00003210| 20 22 45 22 20 74 68 65 | 6e 0d 70 75 74 20 6c 69 | "E" the|n.put li|
|00003220| 6e 65 20 66 69 6c 65 6c | 69 6e 65 20 6f 66 20 66 |ne filel|ine of f|
|00003230| 69 65 6c 64 20 31 20 6f | 66 20 63 61 72 64 20 74 |ield 1 o|f card t|
|00003240| 68 65 46 69 6c 65 20 69 | 6e 74 6f 20 63 61 72 64 |heFile i|nto card|
|00003250| 20 66 69 65 6c 64 20 22 | 45 22 0d 65 6e 64 20 69 | field "|E".end i|
|00003260| 66 0d 61 64 64 20 31 20 | 74 6f 20 66 69 6c 65 6c |f.add 1 |to filel|
|00003270| 69 6e 65 0d 70 75 74 20 | 6c 69 6e 65 20 66 69 6c |ine.put |line fil|
|00003280| 65 6c 69 6e 65 20 6f 66 | 20 66 69 65 6c 64 20 31 |eline of| field 1|
|00003290| 20 6f 66 20 63 61 72 64 | 20 74 68 65 46 69 6c 65 | of card| theFile|
|000032a0| 20 69 6e 74 6f 20 69 73 | 47 72 61 70 68 69 63 0d | into is|Graphic.|
|000032b0| 61 64 64 20 31 20 74 6f | 20 66 69 6c 65 6c 69 6e |add 1 to| filelin|
|000032c0| 65 0d 70 75 74 20 69 73 | 47 72 61 70 68 69 63 20 |e.put is|Graphic |
|000032d0| 69 6e 74 6f 20 62 67 20 | 66 6c 64 20 22 69 73 47 |into bg |fld "isG|
|000032e0| 72 61 70 68 69 63 22 20 | 20 2d 2d 20 20 73 74 6f |raphic" | -- sto|
|000032f0| 72 65 20 69 6e 20 66 69 | 65 6c 64 0d 2d 2d 20 20 |re in fi|eld.-- |
|00003300| 61 63 74 69 76 61 74 65 | 20 6f 72 20 64 69 73 61 |activate| or disa|
|00003310| 62 6c 65 20 74 68 65 20 | 70 69 63 74 75 72 65 20 |ble the |picture |
|00003320| 62 75 74 74 6f 6e 20 6f | 6e 20 74 68 69 73 20 63 |button o|n this c|
|00003330| 61 72 64 0d 69 66 20 69 | 74 65 6d 20 31 20 6f 66 |ard.if i|tem 1 of|
|00003340| 20 69 73 47 72 61 70 68 | 69 63 20 3d 20 22 4d 41 | isGraph|ic = "MA|
|00003350| 59 42 45 22 20 74 68 65 | 6e 20 70 75 74 20 22 54 |YBE" the|n put "T|
|00003360| 52 55 45 22 20 69 6e 74 | 6f 20 69 74 65 6d 20 31 |RUE" int|o item 1|
|00003370| 20 6f 66 20 69 73 47 72 | 61 70 68 69 63 0d 73 65 | of isGr|aphic.se|
|00003380| 74 20 74 68 65 20 69 63 | 6f 6e 20 6f 66 20 63 61 |t the ic|on of ca|
|00003390| 72 64 20 62 75 74 74 6f | 6e 20 22 47 72 61 70 68 |rd butto|n "Graph|
|000033a0| 69 63 22 20 74 6f 20 22 | 47 72 61 70 68 69 63 22 |ic" to "|Graphic"|
|000033b0| 20 26 26 20 69 74 65 6d | 20 31 20 6f 66 20 69 73 | && item| 1 of is|
|000033c0| 47 72 61 70 68 69 63 0d | 73 65 74 20 74 68 65 20 |Graphic.|set the |
|000033d0| 61 75 74 6f 48 69 6c 69 | 74 65 20 6f 66 20 63 61 |autoHili|te of ca|
|000033e0| 72 64 20 62 75 74 74 6f | 6e 20 22 47 72 61 70 68 |rd butto|n "Graph|
|000033f0| 69 63 22 20 74 6f 20 69 | 74 65 6d 20 31 20 6f 66 |ic" to i|tem 1 of|
|00003400| 20 69 73 47 72 61 70 68 | 69 63 0d 73 65 74 20 63 | isGraph|ic.set c|
|00003410| 75 72 73 6f 72 20 74 6f | 20 62 75 73 79 0d 65 6e |ursor to| busy.en|
|00003420| 64 20 72 65 70 65 61 74 | 0d 2d 2d 20 20 2d 2d 20 |d repeat|.-- -- |
|00003430| 20 65 6e 64 20 6d 61 69 | 6e 20 69 6d 70 6f 72 74 | end mai|n import|
|00003440| 20 6c 6f 6f 70 20 20 2d | 2d 20 20 2d 2d 0d 68 69 | loop -|- --.hi|
|00003450| 64 65 20 6d 73 67 0d 7a | 61 70 43 6c 69 70 20 20 |de msg.z|apClip |
|00003460| 2d 2d 20 20 67 65 74 20 | 74 68 65 20 6c 61 73 74 |-- get |the last|
|00003470| 20 74 65 6d 70 6c 61 74 | 65 20 63 61 72 64 20 6f | templat|e card o|
|00003480| 66 66 20 74 68 65 20 63 | 6c 69 70 62 6f 61 72 64 |ff the c|lipboard|
|00003490| 21 0d 73 65 74 20 63 75 | 72 73 6f 72 20 74 6f 20 |!.set cu|rsor to |
|000034a0| 62 75 73 79 0d 0d 2d 2d | 20 20 68 69 64 65 20 74 |busy..--| hide t|
|000034b0| 68 65 20 75 6e 75 73 65 | 64 20 71 75 65 73 74 69 |he unuse|d questi|
|000034c0| 6f 6e 20 62 75 74 74 6f | 6e 73 20 6f 6e 20 74 68 |on butto|ns on th|
|000034d0| 65 20 4d 61 70 0d 69 66 | 20 71 43 6f 75 6e 74 20 |e Map.if| qCount |
|000034e0| 3c 20 36 31 20 74 68 65 | 6e 0d 72 65 70 65 61 74 |< 61 the|n.repeat|
|000034f0| 20 77 69 74 68 20 69 20 | 3d 20 71 43 6f 75 6e 74 | with i |= qCount|
|00003500| 2b 31 20 74 6f 20 36 30 | 20 20 2d 2d 20 20 6d 61 |+1 to 60| -- ma|
|00003510| 78 20 6e 75 6d 62 65 72 | 20 6f 66 20 71 75 65 73 |x number| of ques|
|00003520| 74 69 6f 6e 73 0d 68 69 | 64 65 20 63 64 20 62 74 |tions.hi|de cd bt|
|00003530| 6e 20 69 20 6f 66 20 63 | 61 72 64 20 22 4d 61 70 |n i of c|ard "Map|
|00003540| 22 0d 68 69 64 65 20 63 | 64 20 62 74 6e 20 28 69 |".hide c|d btn (i|
|00003550| 2b 36 30 29 20 6f 66 20 | 63 61 72 64 20 22 4d 61 |+60) of |card "Ma|
|00003560| 70 22 0d 65 6e 64 20 72 | 65 70 65 61 74 0d 68 69 |p".end r|epeat.hi|
|00003570| 64 65 20 62 74 6e 20 22 | 4d 61 70 20 32 22 20 6f |de btn "|Map 2" o|
|00003580| 66 20 63 64 20 22 4d 61 | 70 22 0d 65 6c 73 65 0d |f cd "Ma|p".else.|
|00003590| 72 65 70 65 61 74 20 77 | 69 74 68 20 69 20 3d 20 |repeat w|ith i = |
|000035a0| 71 43 6f 75 6e 74 2b 31 | 20 74 6f 20 31 32 30 0d |qCount+1| to 120.|
|000035b0| 68 69 64 65 20 63 64 20 | 62 74 6e 20 69 20 6f 66 |hide cd |btn i of|
|000035c0| 20 63 64 20 22 4d 61 70 | 32 22 0d 68 69 64 65 20 | cd "Map|2".hide |
|000035d0| 63 64 20 62 74 6e 20 28 | 69 2d 36 30 29 20 6f 66 |cd btn (|i-60) of|
|000035e0| 20 63 64 20 22 4d 61 70 | 32 22 0d 65 6e 64 20 72 | cd "Map|2".end r|
|000035f0| 65 70 65 61 74 0d 73 68 | 6f 77 20 62 74 6e 20 22 |epeat.sh|ow btn "|
|00003600| 4d 61 70 20 32 22 20 6f | 66 20 63 64 20 22 4d 61 |Map 2" o|f cd "Ma|
|00003610| 70 22 0d 65 6e 64 20 69 | 66 0d 0d 2d 2d 20 20 6f |p".end i|f..-- o|
|00003620| 6e 6c 79 20 61 66 74 65 | 72 20 74 65 73 74 20 69 |nly afte|r test i|
|00003630| 73 20 63 6f 6d 70 6c 65 | 74 65 6c 79 20 66 69 6e |s comple|tely fin|
|00003640| 69 73 68 65 64 20 62 75 | 69 6c 64 69 6e 67 c9 0d |ished bu|ilding..|
|00003650| 2d 2d 20 73 65 74 20 74 | 68 65 20 6e 61 6d 65 20 |-- set t|he name |
|00003660| 6f 66 20 63 64 20 62 74 | 6e 20 31 20 6f 66 20 63 |of cd bt|n 1 of c|
|00003670| 64 20 22 57 65 6c 63 6f | 6d 65 20 31 22 20 74 6f |d "Welco|me 1" to|
|00003680| 20 22 52 65 73 75 6d 65 | 20 54 65 73 74 22 0d 0d | "Resume| Test"..|
|00003690| 73 65 74 20 6c 6f 63 6b | 4d 65 73 73 61 67 65 73 |set lock|Messages|
|000036a0| 20 74 6f 20 46 41 4c 53 | 45 0d 0d 70 75 74 20 46 | to FALS|E..put F|
|000036b0| 41 4c 53 45 20 69 6e 74 | 6f 20 70 6f 70 70 65 72 |ALSE int|o popper|
|000036c0| 20 20 2d 2d 20 20 6e 6f | 74 20 73 75 62 72 6f 75 | -- no|t subrou|
|000036d0| 74 69 6e 65 0d 68 69 64 | 65 20 63 64 20 62 74 6e |tine.hid|e cd btn|
|000036e0| 20 22 47 6f 20 42 61 63 | 6b 22 20 6f 66 20 63 64 | "Go Bac|k" of cd|
|000036f0| 20 22 48 6f 77 20 69 74 | 20 57 6f 72 6b 73 22 20 | "How it| Works" |
|00003700| 20 2d 2d 20 20 73 65 74 | 20 75 70 20 62 75 74 74 | -- set| up butt|
|00003710| 6f 6e 73 20 66 6f 72 20 | 70 61 73 73 2d 0d 73 68 |ons for |pass-.sh|
|00003720| 6f 77 20 63 64 20 62 74 | 6e 20 22 43 6f 6e 74 69 |ow cd bt|n "Conti|
|00003730| 6e 75 65 22 20 6f 66 20 | 63 64 20 22 48 6f 77 20 |nue" of |cd "How |
|00003740| 69 74 20 57 6f 72 6b 73 | 22 20 2d 2d 20 20 74 68 |it Works|" -- th|
|00003750| 72 75 20 69 6e 73 74 65 | 61 64 20 6f 66 20 47 6f |ru inste|ad of Go|
|00003760| 42 61 63 6b 0d 67 6f 20 | 63 64 20 22 54 65 73 74 |Back.go |cd "Test|
|00003770| 20 54 69 74 6c 65 22 0d | 68 69 64 65 20 63 64 20 | Title".|hide cd |
|00003780| 70 69 63 74 75 72 65 0d | 70 75 74 20 65 6d 70 74 |picture.|put empt|
|00003790| 79 20 69 6e 74 6f 20 63 | 64 20 66 6c 64 20 22 54 |y into c|d fld "T|
|000037a0| 69 74 6c 65 22 20 6f 66 | 20 63 64 20 22 54 65 73 |itle" of| cd "Tes|
|000037b0| 74 20 54 69 74 6c 65 22 | 20 20 2d 2d 20 20 65 72 |t Title"| -- er|
|000037c0| 61 73 65 20 64 69 73 70 | 6c 61 79 20 74 69 74 6c |ase disp|lay titl|
|000037d0| 65 0d 76 69 73 75 61 6c | 20 64 69 73 73 6f 6c 76 |e.visual| dissolv|
|000037e0| 65 0d 67 6f 20 63 64 20 | 22 48 6f 77 20 69 74 20 |e.go cd |"How it |
|000037f0| 57 6f 72 6b 73 22 0d 73 | 65 74 20 74 68 65 20 75 |Works".s|et the u|
|00003800| 73 65 72 4c 65 76 65 6c | 20 74 6f 20 6f 75 72 55 |serLevel| to ourU|
|00003810| 73 65 72 4c 65 76 65 6c | 20 20 2d 2d 20 20 70 72 |serLevel| -- pr|
|00003820| 6f 62 61 62 6c 79 20 32 | 0d 0d 65 6e 64 20 69 6d |obably 2|..end im|
|00003830| 70 6f 72 74 54 65 73 74 | 0d 0d 0d 6f 6e 20 65 78 |portTest|...on ex|
|00003840| 70 6f 72 74 41 6e 73 77 | 65 72 73 0d 2d 2d 20 20 |portAnsw|ers.-- |
|00003850| 6e 65 77 20 76 65 72 73 | 69 6f 6e 20 75 73 69 6e |new vers|ion usin|
|00003860| 67 20 6d 61 6b 65 53 65 | 6e 64 4d 65 35 20 58 43 |g makeSe|ndMe5 XC|
|00003870| 4d 44 20 69 6e 73 74 65 | 61 64 20 6f 66 20 63 72 |MD inste|ad of cr|
|00003880| 65 61 74 69 6e 67 20 74 | 65 78 74 20 66 69 6c 65 |eating t|ext file|
|00003890| 0d 67 6c 6f 62 61 6c 20 | 71 43 6f 75 6e 74 2c 20 |.global |qCount, |
|000038a0| 74 65 73 74 6f 72 64 65 | 72 0d 67 6c 6f 62 61 6c |testorde|r.global|
|000038b0| 20 74 68 65 46 69 6c 65 | 20 20 2d 2d 20 20 75 73 | theFile| -- us|
|000038c0| 65 64 20 69 6e 20 69 6d | 70 6f 72 74 54 65 73 74 |ed in im|portTest|
|000038d0| 20 26 20 69 6e 20 72 65 | 61 64 53 6f 6d 65 46 69 | & in re|adSomeFi|
|000038e0| 6c 65 28 29 20 66 6f 72 | 20 6e 61 6d 65 20 6f 66 |le() for| name of|
|000038f0| 20 74 68 65 20 54 65 73 | 74 20 3f 20 74 65 78 74 | the Tes|t ? text|
|00003900| 2f 50 49 43 54 20 66 69 | 6c 65 0d 2d 2d 20 20 74 |/PICT fi|le.-- t|
|00003910| 68 65 54 65 78 74 20 69 | 73 20 74 68 65 20 41 70 |heText i|s the Ap|
|00003920| 70 6c 65 4c 69 6e 6b 20 | 6d 65 6d 6f 20 63 6f 6e |pleLink |memo con|
|00003930| 74 65 6e 74 73 0d 2d 2d | 20 20 20 2a 20 67 65 74 |tents.--| * get|
|00003940| 20 74 68 65 20 73 74 75 | 64 65 6e 74 20 69 6e 66 | the stu|dent inf|
|00003950| 6f 20 66 72 6f 6d 20 63 | 61 72 64 20 22 53 74 75 |o from c|ard "Stu|
|00003960| 64 65 6e 74 20 49 44 22 | 0d 2d 2d 20 20 20 2a 20 |dent ID"|.-- * |
|00003970| 61 70 70 65 6e 64 20 74 | 68 65 20 74 65 73 74 20 |append t|he test |
|00003980| 61 6e 73 77 65 72 73 20 | 74 6f 20 69 74 0d 2d 2d |answers |to it.--|
|00003990| 20 20 20 2a 20 73 71 75 | 69 72 74 20 69 74 20 74 | * squ|irt it t|
|000039a0| 6f 20 41 70 70 6c 65 4c | 69 6e 6b 20 4f 75 74 20 |o AppleL|ink Out |
|000039b0| 42 61 73 6b 65 74 0d 0d | 70 75 74 20 22 a5 22 20 |Basket..|put "." |
|000039c0| 69 6e 74 6f 20 6e 61 6d | 65 53 70 61 63 65 72 0d |into nam|eSpacer.|
|000039d0| 73 65 74 20 63 75 72 73 | 6f 72 20 74 6f 20 62 75 |set curs|or to bu|
|000039e0| 73 79 0d 0d 2d 2d 20 20 | 62 75 69 6c 64 20 74 65 |sy..-- |build te|
|000039f0| 78 74 20 73 74 72 65 61 | 6d 20 66 72 6f 6d 20 73 |xt strea|m from s|
|00003a00| 74 75 64 65 6e 74 20 26 | 20 74 65 73 74 20 69 6e |tudent &| test in|
|00003a10| 66 6f 0d 70 75 74 20 63 | 64 20 66 6c 64 20 22 46 |fo.put c|d fld "F|
|00003a20| 69 72 73 74 20 4e 61 6d | 65 22 20 6f 66 20 63 64 |irst Nam|e" of cd|
|00003a30| 20 22 53 74 75 64 65 6e | 74 20 49 44 22 20 69 6e | "Studen|t ID" in|
|00003a40| 74 6f 20 74 68 65 54 65 | 78 74 0d 69 66 20 63 64 |to theTe|xt.if cd|
|00003a50| 20 66 6c 64 20 22 4d 49 | 22 20 6f 66 20 63 64 20 | fld "MI|" of cd |
|00003a60| 22 53 74 75 64 65 6e 74 | 20 49 44 22 20 69 73 20 |"Student| ID" is |
|00003a70| 6e 6f 74 20 65 6d 70 74 | 79 0d 74 68 65 6e 20 70 |not empt|y.then p|
|00003a80| 75 74 20 73 70 61 63 65 | 20 26 20 28 63 64 20 66 |ut space| & (cd f|
|00003a90| 6c 64 20 22 4d 49 22 20 | 6f 66 20 63 64 20 22 53 |ld "MI" |of cd "S|
|00003aa0| 74 75 64 65 6e 74 20 49 | 44 22 29 20 26 20 72 65 |tudent I|D") & re|
|00003ab0| 74 75 72 6e 20 61 66 74 | 65 72 20 74 68 65 54 65 |turn aft|er theTe|
|00003ac0| 78 74 0d 65 6c 73 65 20 | 70 75 74 20 72 65 74 75 |xt.else |put retu|
|00003ad0| 72 6e 20 61 66 74 65 72 | 20 74 68 65 54 65 78 74 |rn after| theText|
|00003ae0| 0d 70 75 74 20 28 63 64 | 20 66 6c 64 20 22 4c 61 |.put (cd| fld "La|
|00003af0| 73 74 20 4e 61 6d 65 22 | 20 6f 66 20 63 64 20 22 |st Name"| of cd "|
|00003b00| 53 74 75 64 65 6e 74 20 | 49 44 22 29 20 26 20 72 |Student |ID") & r|
|00003b10| 65 74 75 72 6e 20 61 66 | 74 65 72 20 74 68 65 54 |eturn af|ter theT|
|00003b20| 65 78 74 0d 70 75 74 20 | 28 63 64 20 66 6c 64 20 |ext.put |(cd fld |
|00003b30| 22 53 53 4e 22 20 6f 66 | 20 63 64 20 22 53 74 75 |"SSN" of| cd "Stu|
|00003b40| 64 65 6e 74 20 49 44 22 | 29 20 26 20 72 65 74 75 |dent ID"|) & retu|
|00003b50| 72 6e 20 61 66 74 65 72 | 20 74 68 65 54 65 78 74 |rn after| theText|
|00003b60| 0d 70 75 74 20 28 63 64 | 20 66 6c 64 20 22 43 4f |.put (cd| fld "CO|
|00003b70| 4e 61 6d 65 22 20 6f 66 | 20 63 64 20 22 53 74 75 |Name" of| cd "Stu|
|00003b80| 64 65 6e 74 20 49 44 22 | 29 20 26 20 72 65 74 75 |dent ID"|) & retu|
|00003b90| 72 6e 20 61 66 74 65 72 | 20 74 68 65 54 65 78 74 |rn after| theText|
|00003ba0| 0d 70 75 74 20 28 63 64 | 20 66 6c 64 20 22 43 4f |.put (cd| fld "CO|
|00003bb0| 49 44 23 22 20 6f 66 20 | 63 64 20 22 53 74 75 64 |ID#" of |cd "Stud|
|00003bc0| 65 6e 74 20 49 44 22 29 | 20 26 20 72 65 74 75 72 |ent ID")| & retur|
|00003bd0| 6e 20 61 66 74 65 72 20 | 74 68 65 54 65 78 74 0d |n after |theText.|
|00003be0| 70 75 74 20 28 63 64 20 | 66 6c 64 20 22 43 4f 53 |put (cd |fld "COS|
|00003bf0| 74 72 65 65 74 22 20 6f | 66 20 63 64 20 22 53 74 |treet" o|f cd "St|
|00003c00| 75 64 65 6e 74 20 49 44 | 22 29 20 26 20 72 65 74 |udent ID|") & ret|
|00003c10| 75 72 6e 20 61 66 74 65 | 72 20 74 68 65 54 65 78 |urn afte|r theTex|
|00003c20| 74 0d 70 75 74 20 28 63 | 64 20 66 6c 64 20 22 43 |t.put (c|d fld "C|
|00003c30| 6f 43 69 74 79 22 20 6f | 66 20 63 64 20 22 53 74 |oCity" o|f cd "St|
|00003c40| 75 64 65 6e 74 20 49 44 | 22 29 20 26 20 72 65 74 |udent ID|") & ret|
|00003c50| 75 72 6e 20 61 66 74 65 | 72 20 74 68 65 54 65 78 |urn afte|r theTex|
|00003c60| 74 0d 70 75 74 20 28 63 | 64 20 66 6c 64 20 22 43 |t.put (c|d fld "C|
|00003c70| 6f 53 74 61 74 65 22 20 | 6f 66 20 63 64 20 22 53 |oState" |of cd "S|
|00003c80| 74 75 64 65 6e 74 20 49 | 44 22 29 20 26 20 72 65 |tudent I|D") & re|
|00003c90| 74 75 72 6e 20 61 66 74 | 65 72 20 74 68 65 54 65 |turn aft|er theTe|
|00003ca0| 78 74 0d 70 75 74 20 28 | 63 64 20 66 6c 64 20 22 |xt.put (|cd fld "|
|00003cb0| 43 6f 5a 69 70 22 20 6f | 66 20 63 64 20 22 53 74 |CoZip" o|f cd "St|
|00003cc0| 75 64 65 6e 74 20 49 44 | 22 29 20 26 20 72 65 74 |udent ID|") & ret|
|00003cd0| 75 72 6e 20 61 66 74 65 | 72 20 74 68 65 54 65 78 |urn afte|r theTex|
|00003ce0| 74 0d 70 75 74 20 28 63 | 64 20 66 6c 64 20 22 43 |t.put (c|d fld "C|
|00003cf0| 6f 50 68 6f 6e 65 22 20 | 6f 66 20 63 64 20 22 53 |oPhone" |of cd "S|
|00003d00| 74 75 64 65 6e 74 20 49 | 44 22 29 20 26 20 72 65 |tudent I|D") & re|
|00003d10| 74 75 72 6e 20 61 66 74 | 65 72 20 74 68 65 54 65 |turn aft|er theTe|
|00003d20| 78 74 0d 2d 2d 70 75 74 | 20 28 6c 69 6e 65 20 32 |xt.--put| (line 2|
|00003d30| 20 6f 66 20 62 67 20 66 | 6c 64 20 22 54 65 73 74 | of bg f|ld "Test|
|00003d40| 20 4e 61 6d 65 22 20 6f | 66 20 63 64 20 22 51 31 | Name" o|f cd "Q1|
|00003d50| 22 29 20 26 20 72 65 74 | 75 72 6e 20 61 66 74 65 |") & ret|urn afte|
|00003d60| 72 20 74 68 65 54 65 78 | 74 20 20 2d 2d 20 20 74 |r theTex|t -- t|
|00003d70| 68 65 20 41 70 70 6c 65 | 20 50 2f 4e 2c 20 65 67 |he Apple| P/N, eg|
|00003d80| 2e 20 43 30 30 39 35 0d | 2d 2d 70 75 74 20 6c 69 |. C0095.|--put li|
|00003d90| 6e 65 20 31 20 6f 66 20 | 66 69 65 6c 64 20 31 20 |ne 1 of |field 1 |
|00003da0| 6f 66 20 63 61 72 64 20 | 74 68 65 46 69 6c 65 20 |of card |theFile |
|00003db0| 69 6e 74 6f 20 74 65 73 | 74 4e 61 6d 65 20 20 2d |into tes|tName -|
|00003dc0| 2d 20 20 69 74 65 6d 20 | 31 20 3d 20 4e 61 6d 65 |- item |1 = Name|
|00003dd0| 2c 20 69 74 65 6d 20 32 | 20 3d 20 41 70 70 6c 65 |, item 2| = Apple|
|00003de0| 20 50 2f 4e 0d 70 75 74 | 20 28 69 74 65 6d 20 32 | P/N.put| (item 2|
|00003df0| 20 6f 66 20 6c 69 6e 65 | 20 31 20 6f 66 20 66 69 | of line| 1 of fi|
|00003e00| 65 6c 64 20 31 20 6f 66 | 20 63 61 72 64 20 74 68 |eld 1 of| card th|
|00003e10| 65 46 69 6c 65 29 20 26 | 20 72 65 74 75 72 6e 20 |eFile) &| return |
|00003e20| 61 66 74 65 72 20 74 68 | 65 54 65 78 74 20 20 2d |after th|eText -|
|00003e30| 2d 20 20 74 68 65 20 41 | 70 70 6c 65 20 50 2f 4e |- the A|pple P/N|
|00003e40| 2c 20 65 67 2e 20 43 30 | 30 39 35 0d 70 75 74 20 |, eg. C0|095.put |
|00003e50| 28 74 68 65 20 73 68 6f | 72 74 20 64 61 74 65 29 |(the sho|rt date)|
|00003e60| 20 26 20 72 65 74 75 72 | 6e 20 61 66 74 65 72 20 | & retur|n after |
|00003e70| 74 68 65 54 65 78 74 0d | 70 75 74 20 62 67 20 66 |theText.|put bg f|
|00003e80| 6c 64 20 22 61 6e 73 77 | 65 72 4c 69 73 74 22 20 |ld "answ|erList" |
|00003e90| 6f 66 20 63 64 20 22 51 | 31 22 20 69 6e 74 6f 20 |of cd "Q|1" into |
|00003ea0| 61 6e 73 77 65 72 4c 69 | 73 74 0d 72 65 70 65 61 |answerLi|st.repea|
|00003eb0| 74 20 77 69 74 68 20 69 | 20 3d 20 31 20 74 6f 20 |t with i| = 1 to |
|00003ec0| 71 43 6f 75 6e 74 0d 73 | 65 74 20 63 75 72 73 6f |qCount.s|et curso|
|00003ed0| 72 20 74 6f 20 62 75 73 | 79 0d 67 65 74 20 6c 69 |r to bus|y.get li|
|00003ee0| 6e 65 20 69 20 6f 66 20 | 61 6e 73 77 65 72 4c 69 |ne i of |answerLi|
|00003ef0| 73 74 0d 69 66 20 69 74 | 20 69 73 20 65 6d 70 74 |st.if it| is empt|
|00003f00| 79 20 74 68 65 6e 20 70 | 75 74 20 7a 65 72 6f 20 |y then p|ut zero |
|00003f10| 69 6e 74 6f 20 69 74 0d | 70 75 74 20 69 74 20 61 |into it.|put it a|
|00003f20| 66 74 65 72 20 74 68 65 | 54 65 78 74 20 20 2d 2d |fter the|Text --|
|00003f30| 20 20 61 6c 6c 20 6a 61 | 6d 6d 65 64 20 74 6f 67 | all ja|mmed tog|
|00003f40| 65 74 68 65 72 0d 65 6e | 64 20 72 65 70 65 61 74 |ether.en|d repeat|
|00003f50| 0d 70 75 74 20 72 65 74 | 75 72 6e 20 61 66 74 65 |.put ret|urn afte|
|00003f60| 72 20 74 68 65 54 65 78 | 74 0d 70 75 74 20 72 65 |r theTex|t.put re|
|00003f70| 74 75 72 6e 20 61 66 74 | 65 72 20 74 68 65 54 65 |turn aft|er theTe|
|00003f80| 78 74 0d 70 75 74 20 22 | 4c 65 61 72 6e 65 72 20 |xt.put "|Learner |
|00003f90| 43 6f 6d 6d 65 6e 74 73 | 3a 22 20 26 20 72 65 74 |Comments|:" & ret|
|00003fa0| 75 72 6e 20 61 66 74 65 | 72 20 74 68 65 54 65 78 |urn afte|r theTex|
|00003fb0| 74 0d 70 75 74 20 22 2d | 2d 2d 2d 2d 2d 2d 2d 2d |t.put "-|--------|
|00003fc0| 2d 2d 2d 2d 2d 2d 2d 2d | 22 20 26 20 72 65 74 75 |--------|" & retu|
|00003fd0| 72 6e 20 61 66 74 65 72 | 20 74 68 65 54 65 78 74 |rn after| theText|
|00003fe0| 0d 70 75 74 20 63 64 20 | 66 69 65 6c 64 20 22 43 |.put cd |field "C|
|00003ff0| 6f 6d 6d 65 6e 74 73 22 | 20 6f 66 20 63 64 20 22 |omments"| of cd "|
|00004000| 43 6f 6d 6d 65 6e 74 73 | 22 20 61 66 74 65 72 20 |Comments|" after |
|00004010| 74 68 65 54 65 78 74 0d | 70 75 74 20 72 65 74 75 |theText.|put retu|
|00004020| 72 6e 20 26 20 74 65 73 | 74 6f 72 64 65 72 20 61 |rn & tes|torder a|
|00004030| 66 74 65 72 20 74 68 65 | 54 65 78 74 0d 73 65 74 |fter the|Text.set|
|00004040| 20 63 75 72 73 6f 72 20 | 74 6f 20 62 75 73 79 0d | cursor |to busy.|
|00004050| 0d 70 75 74 20 63 64 20 | 66 6c 64 20 22 4c 61 73 |.put cd |fld "Las|
|00004060| 74 20 4e 61 6d 65 22 20 | 6f 66 20 63 64 20 22 53 |t Name" |of cd "S|
|00004070| 74 75 64 65 6e 74 20 49 | 44 22 20 69 6e 74 6f 20 |tudent I|D" into |
|00004080| 6c 4e 61 6d 65 0d 70 75 | 74 20 63 64 20 66 6c 64 |lName.pu|t cd fld|
|00004090| 20 22 53 53 4e 22 20 6f | 66 20 63 64 20 22 53 74 | "SSN" o|f cd "St|
|000040a0| 75 64 65 6e 74 20 49 44 | 22 20 69 6e 74 6f 20 73 |udent ID|" into s|
|000040b0| 73 6e 0d 70 75 74 20 6d | 61 6b 65 53 4b 65 79 28 |sn.put m|akeSKey(|
|000040c0| 6c 4e 61 6d 65 2c 73 73 | 6e 29 20 26 20 6e 61 6d |lName,ss|n) & nam|
|000040d0| 65 53 70 61 63 65 72 20 | 26 20 74 68 65 20 73 68 |eSpacer |& the sh|
|000040e0| 6f 72 74 20 64 61 74 65 | 20 69 6e 74 6f 20 73 75 |ort date| into su|
|000040f0| 62 6a 65 63 74 4c 69 6e | 65 0d 0d 64 72 6f 70 49 |bjectLin|e..dropI|
|00004100| 6e 4f 75 74 42 61 73 6b | 65 74 20 22 53 45 52 56 |nOutBask|et "SERV|
|00004110| 2e 45 54 22 2c 73 75 62 | 6a 65 63 74 4c 69 6e 65 |.ET",sub|jectLine|
|00004120| 2c 74 68 65 54 65 78 74 | 20 20 2d 2d 20 20 58 43 |,theText| -- XC|
|00004130| 4d 44 0d 65 6e 64 20 65 | 78 70 6f 72 74 41 6e 73 |MD.end e|xportAns|
|00004140| 77 65 72 73 0d 0d 0d 6f | 6e 20 53 63 6f 72 65 54 |wers...o|n ScoreT|
|00004150| 65 73 74 0d 67 6c 6f 62 | 61 6c 20 71 43 6f 75 6e |est.glob|al qCoun|
|00004160| 74 2c 20 74 68 65 46 69 | 6c 65 2c 74 65 73 74 6f |t, theFi|le,testo|
|00004170| 72 64 65 72 0d 70 75 74 | 20 30 20 69 6e 74 6f 20 |rder.put| 0 into |
|00004180| 73 63 6f 72 65 0d 70 75 | 74 20 66 69 65 6c 64 20 |score.pu|t field |
|00004190| 22 70 61 72 61 6d 73 22 | 20 6f 66 20 63 64 20 31 |"params"| of cd 1|
|000041a0| 20 6f 66 20 62 67 20 22 | 54 65 73 74 20 49 74 65 | of bg "|Test Ite|
|000041b0| 6d 22 20 69 6e 74 6f 20 | 61 6e 73 77 65 72 6b 65 |m" into |answerke|
|000041c0| 79 0d 70 75 74 20 66 69 | 65 6c 64 20 22 61 6e 73 |y.put fi|eld "ans|
|000041d0| 77 65 72 4c 69 73 74 22 | 20 6f 66 20 63 64 20 31 |werList"| of cd 1|
|000041e0| 20 6f 66 20 62 67 20 22 | 54 65 73 74 20 49 74 65 | of bg "|Test Ite|
|000041f0| 6d 22 20 69 6e 74 6f 20 | 61 6e 73 77 65 72 4c 69 |m" into |answerLi|
|00004200| 73 74 0d 72 65 70 65 61 | 74 20 77 69 74 68 20 69 |st.repea|t with i|
|00004210| 20 3d 20 31 20 74 6f 20 | 71 43 6f 75 6e 74 0d 70 | = 1 to |qCount.p|
|00004220| 75 74 20 69 74 65 6d 20 | 69 20 6f 66 20 74 65 73 |ut item |i of tes|
|00004230| 74 6f 72 64 65 72 20 69 | 6e 74 6f 20 77 68 69 63 |torder i|nto whic|
|00004240| 68 69 74 65 6d 0d 69 66 | 20 28 43 68 61 72 54 6f |hitem.if| (CharTo|
|00004250| 4e 75 6d 28 6c 69 6e 65 | 20 77 68 69 63 68 69 74 |Num(line| whichit|
|00004260| 65 6d 20 6f 66 20 61 6e | 73 77 65 72 4c 69 73 74 |em of an|swerList|
|00004270| 29 20 2d 20 39 36 29 20 | 3d 20 69 74 65 6d 20 31 |) - 96) |= item 1|
|00004280| 20 6f 66 20 6c 69 6e 65 | 20 69 20 6f 66 20 61 6e | of line| i of an|
|00004290| 73 77 65 72 6b 65 79 20 | 74 68 65 6e 0d 61 64 64 |swerkey |then.add|
|000042a0| 20 31 20 74 6f 20 73 63 | 6f 72 65 0d 65 6e 64 20 | 1 to sc|ore.end |
|000042b0| 69 66 0d 65 6e 64 20 72 | 65 70 65 61 74 0d 69 66 |if.end r|epeat.if|
|000042c0| 20 73 63 6f 72 65 20 3e | 3d 20 69 74 65 6d 20 32 | score >|= item 2|
|000042d0| 20 6f 66 20 6c 69 6e 65 | 20 32 20 6f 66 20 66 69 | of line| 2 of fi|
|000042e0| 65 6c 64 20 31 20 6f 66 | 20 63 61 72 64 20 74 68 |eld 1 of| card th|
|000042f0| 65 46 69 6c 65 20 74 68 | 65 6e 0d 70 75 74 20 72 |eFile th|en.put r|
|00004300| 6f 75 6e 64 28 28 73 63 | 6f 72 65 2f 71 43 6f 75 |ound((sc|ore/qCou|
|00004310| 6e 74 29 20 2a 20 31 30 | 30 29 20 69 6e 74 6f 20 |nt) * 10|0) into |
|00004320| 70 65 72 63 65 6e 74 73 | 63 6f 72 65 0d 61 6e 73 |percents|core.ans|
|00004330| 77 65 72 20 22 43 6f 6e | 67 72 61 74 75 6c 61 74 |wer "Con|gratulat|
|00004340| 69 6f 6e 73 21 20 79 6f | 75 20 70 61 73 73 65 64 |ions! yo|u passed|
|00004350| 20 74 68 65 20 74 65 73 | 74 20 61 6e 64 20 73 63 | the tes|t and sc|
|00004360| 6f 72 65 64 20 22 20 26 | 20 73 63 6f 72 65 20 26 |ored " &| score &|
|00004370| 20 22 20 6f 75 74 20 6f | 66 20 22 20 26 20 71 43 | " out o|f " & qC|
|00004380| 6f 75 6e 74 20 26 20 22 | 2e 20 52 65 6d 65 6d 62 |ount & "|. Rememb|
|00004390| 65 72 20 74 6f 20 73 65 | 6e 64 22 c2 0d 26 26 20 |er to se|nd"..&& |
|000043a0| 22 69 6e 20 79 6f 75 72 | 20 61 6e 73 77 65 72 73 |"in your| answers|
|000043b0| 20 75 73 69 6e 67 20 41 | 70 70 6c 65 4c 69 6e 6b | using A|ppleLink|
|000043c0| 2e 22 0d 70 75 74 20 63 | 64 20 66 6c 64 20 22 46 |.".put c|d fld "F|
|000043d0| 69 72 73 74 20 4e 61 6d | 65 22 20 6f 66 20 63 64 |irst Nam|e" of cd|
|000043e0| 20 22 53 74 75 64 65 6e | 74 20 49 44 22 20 69 6e | "Studen|t ID" in|
|000043f0| 74 6f 20 73 74 75 64 65 | 6e 74 4e 61 6d 65 0d 69 |to stude|ntName.i|
|00004400| 66 20 63 64 20 66 6c 64 | 20 22 4d 49 22 20 6f 66 |f cd fld| "MI" of|
|00004410| 20 63 64 20 22 53 74 75 | 64 65 6e 74 20 49 44 22 | cd "Stu|dent ID"|
|00004420| 20 69 73 20 6e 6f 74 20 | 65 6d 70 74 79 20 74 68 | is not |empty th|
|00004430| 65 6e 0d 70 75 74 20 73 | 70 61 63 65 20 26 20 63 |en.put s|pace & c|
|00004440| 64 20 66 6c 64 20 22 4d | 49 22 20 6f 66 20 63 64 |d fld "M|I" of cd|
|00004450| 20 22 53 74 75 64 65 6e | 74 20 49 44 22 20 61 66 | "Studen|t ID" af|
|00004460| 74 65 72 20 73 74 75 64 | 65 6e 74 4e 61 6d 65 0d |ter stud|entName.|
|00004470| 65 6e 64 20 69 66 0d 70 | 75 74 20 73 70 61 63 65 |end if.p|ut space|
|00004480| 20 26 20 63 64 20 66 6c | 64 20 22 4c 61 73 74 20 | & cd fl|d "Last |
|00004490| 4e 61 6d 65 22 20 6f 66 | 20 63 64 20 22 53 74 75 |Name" of| cd "Stu|
|000044a0| 64 65 6e 74 20 49 44 22 | 20 61 66 74 65 72 20 73 |dent ID"| after s|
|000044b0| 74 75 64 65 6e 74 4e 61 | 6d 65 0d 70 75 74 20 73 |tudentNa|me.put s|
|000044c0| 74 75 64 65 6e 74 4e 61 | 6d 65 20 69 6e 74 6f 20 |tudentNa|me into |
|000044d0| 66 69 65 6c 64 20 31 20 | 6f 66 20 63 61 72 64 20 |field 1 |of card |
|000044e0| 22 43 65 72 74 69 66 69 | 63 61 74 65 22 0d 70 75 |"Certifi|cate".pu|
|000044f0| 74 20 69 74 65 6d 20 31 | 20 6f 66 20 6c 69 6e 65 |t item 1| of line|
|00004500| 20 31 20 6f 66 20 66 69 | 65 6c 64 20 31 20 6f 66 | 1 of fi|eld 1 of|
|00004510| 20 63 61 72 64 20 74 68 | 65 46 69 6c 65 20 69 6e | card th|eFile in|
|00004520| 74 6f 20 66 69 65 6c 64 | 20 32 20 6f 66 20 63 61 |to field| 2 of ca|
|00004530| 72 64 20 22 43 65 72 74 | 69 66 69 63 61 74 65 22 |rd "Cert|ificate"|
|00004540| 0d 70 75 74 20 74 68 65 | 20 61 62 62 72 20 64 61 |.put the| abbr da|
|00004550| 74 65 20 69 6e 74 6f 20 | 66 69 65 6c 64 20 33 20 |te into |field 3 |
|00004560| 6f 66 20 63 61 72 64 20 | 22 43 65 72 74 69 66 69 |of card |"Certifi|
|00004570| 63 61 74 65 22 0d 70 75 | 73 68 20 63 61 72 64 0d |cate".pu|sh card.|
|00004580| 67 6f 20 63 61 72 64 20 | 22 43 65 72 74 69 66 69 |go card |"Certifi|
|00004590| 63 61 74 65 22 0d 64 6f | 4d 65 6e 75 20 22 50 72 |cate".do|Menu "Pr|
|000045a0| 69 6e 74 20 43 61 72 64 | 22 0d 70 6f 70 20 63 61 |int Card|".pop ca|
|000045b0| 72 64 0d 65 6c 73 65 0d | 70 75 74 20 22 59 6f 75 |rd.else.|put "You|
|000045c0| 72 20 73 63 6f 72 65 20 | 69 73 22 20 26 26 20 73 |r score |is" && s|
|000045d0| 63 6f 72 65 20 26 26 20 | 22 2e 20 22 20 69 6e 74 |core && |". " int|
|000045e0| 6f 20 73 74 72 0d 70 75 | 74 20 69 74 65 6d 20 32 |o str.pu|t item 2|
|000045f0| 20 6f 66 20 6c 69 6e 65 | 20 32 20 6f 66 20 66 6c | of line| 2 of fl|
|00004600| 64 20 31 20 6f 66 20 63 | 61 72 64 20 74 68 65 46 |d 1 of c|ard theF|
|00004610| 69 6c 65 20 69 6e 74 6f | 20 74 65 6d 70 0d 70 75 |ile into| temp.pu|
|00004620| 74 20 22 59 6f 75 20 6e | 65 65 64 20 22 20 26 20 |t "You n|eed " & |
|00004630| 74 65 6d 70 20 26 20 22 | 20 74 6f 20 70 61 73 73 |temp & "| to pass|
|00004640| 2e 22 20 61 66 74 65 72 | 20 73 74 72 0d 61 6e 73 |." after| str.ans|
|00004650| 77 65 72 20 20 73 74 72 | 0d 65 6e 64 20 69 66 0d |wer str|.end if.|
|00004660| 65 6e 64 20 53 63 6f 72 | 65 54 65 73 74 0d 0d 6f |end Scor|eTest..o|
|00004670| 6e 20 73 65 6c 66 44 65 | 73 74 72 75 63 74 0d 2d |n selfDe|struct.-|
|00004680| 2d 20 20 64 65 6c 65 74 | 65 20 74 68 65 20 71 75 |- delet|e the qu|
|00004690| 65 73 74 69 6f 6e 20 63 | 61 72 64 73 20 66 72 6f |estion c|ards fro|
|000046a0| 6d 20 74 68 69 73 20 73 | 74 61 63 6b 2c 20 61 6e |m this s|tack, an|
|000046b0| 64 0d 2d 2d 20 20 72 65 | 73 74 6f 72 65 20 69 74 |d.-- re|store it|
|000046c0| 20 74 6f 20 69 74 73 20 | 6f 72 69 67 69 6e 61 6c | to its |original|
|000046d0| 20 66 6f 72 6d 2e 0d 67 | 6c 6f 62 61 6c 20 71 43 | form..g|lobal qC|
|000046e0| 6f 75 6e 74 0d 70 75 74 | 20 22 4f 6e 65 20 6d 6f |ount.put| "One mo|
|000046f0| 6d 65 6e 74 20 70 6c 65 | 61 73 65 2e 2e 2e 22 0d |ment ple|ase...".|
|00004700| 6c 6f 63 6b 20 73 63 72 | 65 65 6e 0d 70 75 74 20 |lock scr|een.put |
|00004710| 65 6d 70 74 79 20 69 6e | 74 6f 20 66 69 65 6c 64 |empty in|to field|
|00004720| 20 35 20 6f 66 20 63 64 | 20 31 20 6f 66 20 62 67 | 5 of cd| 1 of bg|
|00004730| 20 22 54 65 73 74 20 49 | 74 65 6d 22 0d 70 75 74 | "Test I|tem".put|
|00004740| 20 65 6d 70 74 79 20 69 | 6e 74 6f 20 62 67 20 66 | empty i|nto bg f|
|00004750| 6c 64 20 22 61 6e 73 77 | 65 72 4c 69 73 74 22 20 |ld "answ|erList" |
|00004760| 6f 66 20 63 64 20 31 20 | 6f 66 20 62 67 20 22 54 |of cd 1 |of bg "T|
|00004770| 65 73 74 20 49 74 65 6d | 22 20 20 2d 2d 20 20 65 |est Item|" -- e|
|00004780| 72 61 73 65 20 74 68 65 | 20 73 74 75 64 65 6e 74 |rase the| student|
|00004790| 27 73 20 61 6e 73 77 65 | 72 73 0d 70 75 74 20 65 |'s answe|rs.put e|
|000047a0| 6d 70 74 79 20 69 6e 74 | 6f 20 62 67 20 66 6c 64 |mpty int|o bg fld|
|000047b0| 20 22 54 65 73 74 20 4e | 61 6d 65 22 20 6f 66 20 | "Test N|ame" of |
|000047c0| 63 64 20 31 20 6f 66 20 | 62 67 20 22 54 65 73 74 |cd 1 of |bg "Test|
|000047d0| 20 49 74 65 6d 22 20 20 | 2d 2d 20 20 65 72 61 73 | Item" |-- eras|
|000047e0| 65 20 74 68 65 20 74 65 | 73 74 20 6e 61 6d 65 0d |e the te|st name.|
|000047f0| 70 75 74 20 65 6d 70 74 | 79 20 69 6e 74 6f 20 63 |put empt|y into c|
|00004800| 64 20 66 6c 64 20 22 43 | 6f 6d 6d 65 6e 74 73 22 |d fld "C|omments"|
|00004810| 20 6f 66 20 63 64 20 22 | 43 6f 6d 6d 65 6e 74 73 | of cd "|Comments|
|00004820| 22 20 20 2d 2d 20 20 65 | 72 61 73 65 20 74 68 65 |" -- e|rase the|
|00004830| 20 63 6f 6d 6d 65 6e 74 | 73 0d 70 75 74 20 65 6d | comment|s.put em|
|00004840| 70 74 79 20 69 6e 74 6f | 20 63 64 20 66 6c 64 20 |pty into| cd fld |
|00004850| 22 54 69 74 6c 65 22 20 | 6f 66 20 63 64 20 22 54 |"Title" |of cd "T|
|00004860| 65 73 74 20 54 69 74 6c | 65 22 20 20 2d 2d 20 20 |est Titl|e" -- |
|00004870| 65 72 61 73 65 20 64 69 | 73 70 6c 61 79 20 74 69 |erase di|splay ti|
|00004880| 74 6c 65 0d 73 65 74 20 | 74 68 65 20 6e 61 6d 65 |tle.set |the name|
|00004890| 20 6f 66 20 63 64 20 62 | 74 6e 20 31 20 6f 66 20 | of cd b|tn 1 of |
|000048a0| 63 64 20 22 57 65 6c 63 | 6f 6d 65 20 31 22 20 74 |cd "Welc|ome 1" t|
|000048b0| 6f 20 22 53 74 61 72 74 | 20 54 65 73 74 22 0d 73 |o "Start| Test".s|
|000048c0| 65 74 20 6c 6f 63 6b 6d | 65 73 73 61 67 65 73 20 |et lockm|essages |
|000048d0| 74 6f 20 74 72 75 65 0d | 72 65 70 65 61 74 20 77 |to true.|repeat w|
|000048e0| 69 74 68 20 7a 20 3d 20 | 31 20 74 6f 20 71 43 6f |ith z = |1 to qCo|
|000048f0| 75 6e 74 0d 73 65 74 20 | 63 75 72 73 6f 72 20 74 |unt.set |cursor t|
|00004900| 6f 20 62 75 73 79 0d 67 | 6f 20 63 64 20 22 51 22 |o busy.g|o cd "Q"|
|00004910| 20 26 20 7a 0d 73 65 74 | 20 74 68 65 20 63 61 6e | & z.set| the can|
|00004920| 74 44 65 6c 65 74 65 20 | 6f 66 20 74 68 69 73 20 |tDelete |of this |
|00004930| 63 61 72 64 20 74 6f 20 | 46 41 4c 53 45 0d 64 6f |card to |FALSE.do|
|00004940| 4d 65 6e 75 20 22 44 65 | 6c 65 74 65 20 43 61 72 |Menu "De|lete Car|
|00004950| 64 22 0d 65 6e 64 20 72 | 65 70 65 61 74 0d 73 65 |d".end r|epeat.se|
|00004960| 74 20 6c 6f 63 6b 6d 65 | 73 73 61 67 65 73 20 74 |t lockme|ssages t|
|00004970| 6f 20 66 61 6c 73 65 0d | 73 65 74 20 63 75 72 73 |o false.|set curs|
|00004980| 6f 72 20 74 6f 20 62 75 | 73 79 0d 75 6e 6c 6f 63 |or to bu|sy.unloc|
|00004990| 6b 20 73 63 72 65 65 6e | 0d 70 75 74 20 65 6d 70 |k screen|.put emp|
|000049a0| 74 79 20 69 6e 74 6f 20 | 66 6c 64 20 31 20 6f 66 |ty into |fld 1 of|
|000049b0| 20 63 64 20 22 43 65 72 | 74 69 66 69 63 61 74 65 | cd "Cer|tificate|
|000049c0| 22 0d 70 75 74 20 65 6d | 70 74 79 20 69 6e 74 6f |".put em|pty into|
|000049d0| 20 66 6c 64 20 32 20 6f | 66 20 63 64 20 22 43 65 | fld 2 o|f cd "Ce|
|000049e0| 72 74 69 66 69 63 61 74 | 65 22 0d 70 75 74 20 65 |rtificat|e".put e|
|000049f0| 6d 70 74 79 20 69 6e 74 | 6f 20 66 6c 64 20 33 20 |mpty int|o fld 3 |
|00004a00| 6f 66 20 63 64 20 22 43 | 65 72 74 69 66 69 63 61 |of cd "C|ertifica|
|00004a10| 74 65 22 0d 70 75 74 20 | 22 22 0d 65 6e 64 20 73 |te".put |"".end s|
|00004a20| 65 6c 66 44 65 73 74 72 | 75 63 74 0d 0d 0d 6f 6e |elfDestr|uct...on|
|00004a30| 20 6f 75 74 74 61 48 65 | 72 65 20 77 68 65 72 65 | outtaHe|re where|
|00004a40| 54 6f 0d 73 65 74 20 63 | 75 72 73 6f 72 20 74 6f |To.set c|ursor to|
|00004a50| 20 77 61 74 63 68 0d 69 | 66 20 77 68 65 72 65 54 | watch.i|f whereT|
|00004a60| 6f 20 69 73 20 22 47 6f | 20 48 6f 6d 65 22 20 74 |o is "Go| Home" t|
|00004a70| 68 65 6e 0d 63 6c 6f 73 | 65 20 77 69 6e 64 6f 77 |hen.clos|e window|
|00004a80| 20 74 68 65 20 73 68 6f | 72 74 20 6e 61 6d 65 20 | the sho|rt name |
|00004a90| 6f 66 20 74 68 69 73 20 | 73 74 61 63 6b 0d 67 6f |of this |stack.go|
|00004aa0| 20 68 6f 6d 65 0d 65 6c | 73 65 20 69 66 20 77 68 | home.el|se if wh|
|00004ab0| 65 72 65 54 6f 20 69 73 | 20 22 51 75 69 74 22 20 |ereTo is| "Quit" |
|00004ac0| 74 68 65 6e 0d 69 66 20 | 65 6e 61 62 6c 65 64 20 |then.if |enabled |
|00004ad0| 6f 66 20 6d 65 6e 75 49 | 74 65 6d 20 22 43 6c 6f |of menuI|tem "Clo|
|00004ae0| 73 65 20 53 74 61 63 6b | 22 20 6f 66 20 6d 65 6e |se Stack|" of men|
|00004af0| 75 20 22 46 69 6c 65 22 | 20 69 73 20 74 72 75 65 |u "File"| is true|
|00004b00| 20 74 68 65 6e 0d 73 65 | 6e 64 20 22 64 6f 4d 65 | then.se|nd "doMe|
|00004b10| 6e 75 20 43 6c 6f 73 65 | 20 53 74 61 63 6b 22 20 |nu Close| Stack" |
|00004b20| 74 6f 20 48 79 70 65 72 | 43 61 72 64 20 20 2d 2d |to Hyper|Card --|
|00004b30| 20 20 62 79 70 61 73 73 | 20 74 68 65 20 69 6e 74 | bypass| the int|
|00004b40| 65 72 63 65 70 74 6f 72 | 2c 20 6f 72 20 77 65 27 |erceptor|, or we'|
|00004b50| 6c 6c 20 b0 20 72 65 70 | 65 61 74 0d 65 6c 73 65 |ll . rep|eat.else|
|00004b60| 0d 73 65 6e 64 20 22 64 | 6f 4d 65 6e 75 20 51 75 |.send "d|oMenu Qu|
|00004b70| 69 74 20 48 79 70 65 72 | 43 61 72 64 22 20 74 6f |it Hyper|Card" to|
|00004b80| 20 48 79 70 65 72 43 61 | 72 64 20 20 2d 2d 20 20 | HyperCa|rd -- |
|00004b90| 62 79 70 61 73 73 20 74 | 68 65 20 69 6e 74 65 72 |bypass t|he inter|
|00004ba0| 63 65 70 74 6f 72 2c 20 | 6f 72 20 77 65 27 6c 6c |ceptor, |or we'll|
|00004bb0| 20 b0 20 72 65 70 65 61 | 74 0d 65 6e 64 20 69 66 | . repea|t.end if|
|00004bc0| 0d 65 6e 64 20 69 66 0d | 65 6e 64 20 6f 75 74 74 |.end if.|end outt|
|00004bd0| 61 48 65 72 65 0d 0d 0d | 6f 6e 20 7a 61 70 43 6c |aHere...|on zapCl|
|00004be0| 69 70 0d 2d 2d 20 20 74 | 68 61 6e 6b 73 20 74 6f |ip.-- t|hanks to|
|00004bf0| 20 46 72 65 64 65 72 69 | 63 20 52 69 6e 61 6c 64 | Frederi|c Rinald|
|00004c00| 69 20 28 52 49 4e 41 4c | 44 49 31 29 0d 2d 2d 20 |i (RINAL|DI1).-- |
|00004c10| 20 28 74 68 65 72 65 20 | 69 73 20 61 6c 73 6f 20 | (there |is also |
|00004c20| 74 68 65 20 58 43 4d 44 | 20 50 75 74 43 6c 69 70 |the XCMD| PutClip|
|00004c30| 42 6f 61 72 64 20 61 6e | 64 0d 2d 2d 20 20 20 58 |Board an|d.-- X|
|00004c40| 46 43 4e 20 47 65 74 43 | 6c 69 70 42 6f 61 72 64 |FCN GetC|lipBoard|
|00004c50| 20 62 79 20 4a 6f 6e 20 | 50 75 67 68 29 0d 70 75 | by Jon |Pugh).pu|
|00004c60| 74 20 74 68 65 20 6c 6f | 63 20 6f 66 20 6d 73 67 |t the lo|c of msg|
|00004c70| 20 69 6e 74 6f 20 53 61 | 76 65 4c 6f 63 0d 70 75 | into Sa|veLoc.pu|
|00004c80| 74 20 74 68 65 20 76 69 | 73 69 62 6c 65 20 6f 66 |t the vi|sible of|
|00004c90| 20 6d 73 67 20 69 6e 74 | 6f 20 53 61 76 65 56 69 | msg int|o SaveVi|
|00004ca0| 73 0d 73 65 74 20 74 68 | 65 20 6c 6f 63 20 6f 66 |s.set th|e loc of|
|00004cb0| 20 6d 73 67 20 74 6f 20 | 33 30 30 30 2c 33 30 30 | msg to |3000,300|
|00004cc0| 30 20 20 2d 2d 20 20 6f | 66 66 20 73 63 72 65 65 |0 -- o|ff scree|
|00004cd0| 6e 0d 70 75 74 20 22 20 | 22 20 20 2d 2d 20 20 73 |n.put " |" -- s|
|00004ce0| 68 6f 77 73 20 6d 73 67 | 2c 20 68 65 6e 63 65 20 |hows msg|, hence |
|00004cf0| 74 68 65 20 72 65 6c 6f | 63 61 74 65 0d 73 65 6c |the relo|cate.sel|
|00004d00| 65 63 74 20 74 65 78 74 | 20 6f 66 20 6d 73 67 0d |ect text| of msg.|
|00004d10| 74 79 70 65 20 22 43 22 | 20 77 69 74 68 20 63 6f |type "C"| with co|
|00004d20| 6d 6d 61 6e 64 4b 65 79 | 20 20 2d 2d 20 20 63 6f |mmandKey| -- co|
|00004d30| 70 69 65 73 20 74 68 65 | 20 74 65 78 74 0d 73 65 |pies the| text.se|
|00004d40| 74 20 74 68 65 20 76 69 | 73 69 62 6c 65 20 6f 66 |t the vi|sible of|
|00004d50| 20 6d 73 67 20 74 6f 20 | 53 61 76 65 56 69 73 0d | msg to |SaveVis.|
|00004d60| 73 65 74 20 74 68 65 20 | 6c 6f 63 20 6f 66 20 6d |set the |loc of m|
|00004d70| 73 67 20 74 6f 20 53 61 | 76 65 4c 6f 63 0d 65 6e |sg to Sa|veLoc.en|
|00004d80| 64 20 7a 61 70 43 6c 69 | 70 0d 0d 0d 6f 6e 20 72 |d zapCli|p...on r|
|00004d90| 65 73 65 74 41 6c 6c 4d | 61 70 42 75 74 74 6f 6e |esetAllM|apButton|
|00004da0| 73 0d 2d 2d 20 20 73 68 | 6f 77 20 61 6c 6c 20 74 |s.-- sh|ow all t|
|00004db0| 68 65 20 62 75 74 74 6f | 6e 73 20 28 6e 75 6d 62 |he butto|ns (numb|
|00004dc0| 65 72 73 20 61 6e 64 20 | 69 63 6f 6e 73 29 0d 2d |ers and |icons).-|
|00004dd0| 2d 20 20 68 69 6c 69 74 | 65 73 20 6f 66 66 20 26 |- hilit|es off &|
|00004de0| 20 74 65 78 74 20 70 6c | 61 69 6e 0d 2d 2d 20 20 | text pl|ain.-- |
|00004df0| 69 63 6f 6e 73 20 73 71 | 75 61 72 65 0d 0d 73 65 |icons sq|uare..se|
|00004e00| 74 20 63 75 72 73 6f 72 | 20 74 6f 20 77 61 74 63 |t cursor| to watc|
|00004e10| 68 0d 6c 6f 63 6b 20 73 | 63 72 65 65 6e 0d 70 75 |h.lock s|creen.pu|
|00004e20| 73 68 20 63 61 72 64 0d | 67 6f 20 63 61 72 64 20 |sh card.|go card |
|00004e30| 22 4d 61 70 22 0d 72 65 | 70 65 61 74 20 77 69 74 |"Map".re|peat wit|
|00004e40| 68 20 78 20 3d 20 31 20 | 74 6f 20 36 30 20 20 2d |h x = 1 |to 60 -|
|00004e50| 2d 20 20 69 63 6f 6e 73 | 0d 73 68 6f 77 20 63 64 |- icons|.show cd|
|00004e60| 20 62 74 6e 20 78 0d 73 | 65 74 20 74 68 65 20 69 | btn x.s|et the i|
|00004e70| 63 6f 6e 20 6f 66 20 63 | 64 20 62 74 6e 20 78 20 |con of c|d btn x |
|00004e80| 74 6f 20 22 4d 61 72 6b | 46 41 4c 53 45 22 0d 73 |to "Mark|FALSE".s|
|00004e90| 65 74 20 74 68 65 20 68 | 69 6c 69 74 65 20 6f 66 |et the h|ilite of|
|00004ea0| 20 63 64 20 62 74 6e 20 | 78 20 74 6f 20 46 41 4c | cd btn |x to FAL|
|00004eb0| 53 45 0d 65 6e 64 20 72 | 65 70 65 61 74 0d 72 65 |SE.end r|epeat.re|
|00004ec0| 70 65 61 74 20 77 69 74 | 68 20 78 20 3d 20 36 31 |peat wit|h x = 61|
|00004ed0| 20 74 6f 20 31 32 30 20 | 20 2d 2d 20 20 6e 75 6d | to 120 | -- num|
|00004ee0| 62 65 72 73 20 28 74 61 | 72 67 65 74 73 29 0d 73 |bers (ta|rgets).s|
|00004ef0| 68 6f 77 20 63 64 20 62 | 74 6e 20 78 0d 73 65 74 |how cd b|tn x.set|
|00004f00| 20 74 68 65 20 74 65 78 | 74 53 74 79 6c 65 20 6f | the tex|tStyle o|
|00004f10| 66 20 63 64 20 62 74 6e | 20 78 20 74 6f 20 70 6c |f cd btn| x to pl|
|00004f20| 61 69 6e 0d 65 6e 64 20 | 72 65 70 65 61 74 0d 67 |ain.end |repeat.g|
|00004f30| 6f 20 63 61 72 64 20 22 | 4d 61 70 32 22 0d 72 65 |o card "|Map2".re|
|00004f40| 70 65 61 74 20 77 69 74 | 68 20 78 20 3d 20 31 20 |peat wit|h x = 1 |
|00004f50| 74 6f 20 36 30 20 20 2d | 2d 20 20 69 63 6f 6e 73 |to 60 -|- icons|
|00004f60| 0d 73 68 6f 77 20 63 64 | 20 62 74 6e 20 78 0d 73 |.show cd| btn x.s|
|00004f70| 65 74 20 74 68 65 20 69 | 63 6f 6e 20 6f 66 20 63 |et the i|con of c|
|00004f80| 64 20 62 74 6e 20 78 20 | 74 6f 20 22 4d 61 72 6b |d btn x |to "Mark|
|00004f90| 46 41 4c 53 45 22 0d 73 | 65 74 20 74 68 65 20 68 |FALSE".s|et the h|
|00004fa0| 69 6c 69 74 65 20 6f 66 | 20 63 64 20 62 74 6e 20 |ilite of| cd btn |
|00004fb0| 78 20 74 6f 20 46 41 4c | 53 45 0d 65 6e 64 20 72 |x to FAL|SE.end r|
|00004fc0| 65 70 65 61 74 0d 72 65 | 70 65 61 74 20 77 69 74 |epeat.re|peat wit|
|00004fd0| 68 20 78 20 3d 20 36 31 | 20 74 6f 20 31 32 30 20 |h x = 61| to 120 |
|00004fe0| 20 2d 2d 20 20 6e 75 6d | 62 65 72 73 20 28 74 61 | -- num|bers (ta|
|00004ff0| 72 67 65 74 73 29 0d 73 | 68 6f 77 20 63 64 20 62 |rgets).s|how cd b|
|00005000| 74 6e 20 78 0d 73 65 74 | 20 74 68 65 20 74 65 78 |tn x.set| the tex|
|00005010| 74 53 74 79 6c 65 20 6f | 66 20 63 64 20 62 74 6e |tStyle o|f cd btn|
|00005020| 20 78 20 74 6f 20 70 6c | 61 69 6e 0d 65 6e 64 20 | x to pl|ain.end |
|00005030| 72 65 70 65 61 74 0d 70 | 6f 70 20 63 61 72 64 0d |repeat.p|op card.|
|00005040| 75 6e 6c 6f 63 6b 20 73 | 63 72 65 65 6e 0d 65 6e |unlock s|creen.en|
|00005050| 64 20 72 65 73 65 74 41 | 6c 6c 4d 61 70 42 75 74 |d resetA|llMapBut|
|00005060| 74 6f 6e 73 0d 0d 0d 6f | 6e 20 73 65 74 51 43 6f |tons...o|n setQCo|
|00005070| 75 6e 74 0d 67 6c 6f 62 | 61 6c 20 71 43 6f 75 6e |unt.glob|al qCoun|
|00005080| 74 20 20 2d 2d 20 20 74 | 68 65 20 6e 75 6d 62 65 |t -- t|he numbe|
|00005090| 72 20 6f 66 20 71 75 65 | 73 74 69 6f 6e 20 63 61 |r of que|stion ca|
|000050a0| 72 64 73 0d 6c 6f 63 6b | 20 73 63 72 65 65 6e 20 |rds.lock| screen |
|000050b0| 20 20 20 20 20 20 20 20 | 20 20 20 2d 2d 20 20 71 | | -- q|
|000050c0| 75 65 73 74 69 6f 6e 73 | 20 77 65 72 65 6e 27 74 |uestions| weren't|
|000050d0| 20 69 6d 70 6f 72 74 65 | 64 20 73 69 6e 63 65 20 | importe|d since |
|000050e0| 6f 70 65 6e 53 74 61 63 | 6b 2c 0d 70 75 73 68 20 |openStac|k,.push |
|000050f0| 63 61 72 64 20 20 20 20 | 20 20 20 20 20 20 20 20 |card | |
|00005100| 20 20 2d 2d 20 20 73 6f | 20 6c 65 74 27 73 20 73 | -- so| let's s|
|00005110| 65 65 20 68 6f 77 20 6d | 61 6e 79 20 71 75 65 73 |ee how m|any ques|
|00005120| 74 69 6f 6e 73 20 74 68 | 65 72 65 20 61 72 65 0d |tions th|ere are.|
|00005130| 67 6f 20 6c 61 73 74 20 | 63 61 72 64 20 20 20 20 |go last |card |
|00005140| 20 20 20 20 20 20 20 2d | 2d 20 20 28 6f 74 68 65 | -|- (othe|
|00005150| 72 77 69 7a 65 20 67 6f | 43 61 72 64 20 77 6f 6e |rwize go|Card won|
|00005160| 27 74 20 77 6f 72 6b 29 | 0d 70 75 74 20 6e 75 6d |'t work)|.put num|
|00005170| 4f 66 51 75 65 73 74 69 | 6f 6e 20 28 20 73 68 6f |OfQuesti|on ( sho|
|00005180| 72 74 20 6e 61 6d 65 20 | 6f 66 20 74 68 69 73 20 |rt name |of this |
|00005190| 63 61 72 64 20 29 20 69 | 6e 74 6f 20 71 43 6f 75 |card ) i|nto qCou|
|000051a0| 6e 74 0d 70 6f 70 20 63 | 61 72 64 0d 75 6e 6c 6f |nt.pop c|ard.unlo|
|000051b0| 63 6b 20 73 63 72 65 65 | 6e 0d 65 6e 64 20 73 65 |ck scree|n.end se|
|000051c0| 74 51 43 6f 75 6e 74 0d | 0d 0d 6f 6e 20 70 72 65 |tQCount.|..on pre|
|000051d0| 48 65 61 74 0d 2d 2d 20 | 20 70 72 65 2d 63 6f 6d |Heat.-- | pre-com|
|000051e0| 70 69 6c 65 20 73 6f 6d | 65 20 63 6f 64 65 0d 2d |pile som|e code.-|
|000051f0| 2d 20 20 54 68 65 20 72 | 6f 75 74 69 6e 65 73 20 |- The r|outines |
|00005200| 61 72 65 20 73 65 74 20 | 75 70 20 74 6f 20 65 78 |are set |up to ex|
|00005210| 69 74 20 77 68 65 6e 20 | 70 61 73 73 65 64 20 27 |it when |passed '|
|00005220| 70 72 65 48 65 61 74 27 | 0d 2d 2d 20 20 62 75 74 |preHeat'|.-- but|
|00005230| 20 67 65 74 20 63 6f 6d | 70 69 6c 65 64 20 61 6e | get com|piled an|
|00005240| 79 77 61 79 0d 73 65 6e | 64 20 22 67 6f 43 61 72 |yway.sen|d "goCar|
|00005250| 64 20 70 72 65 48 65 61 | 74 22 20 74 6f 20 62 67 |d preHea|t" to bg|
|00005260| 20 22 54 65 73 74 20 49 | 74 65 6d 22 0d 73 65 6e | "Test I|tem".sen|
|00005270| 64 20 22 61 72 72 6f 77 | 4b 65 79 20 70 72 65 48 |d "arrow|Key preH|
|00005280| 65 61 74 22 20 74 6f 20 | 62 67 20 22 54 65 73 74 |eat" to |bg "Test|
|00005290| 20 49 74 65 6d 22 0d 73 | 65 6e 64 20 22 73 65 6c | Item".s|end "sel|
|000052a0| 65 63 74 4d 65 20 70 72 | 65 48 65 61 74 22 20 74 |ectMe pr|eHeat" t|
|000052b0| 6f 20 62 67 20 22 54 65 | 73 74 20 49 74 65 6d 22 |o bg "Te|st Item"|
|000052c0| 0d 65 6e 64 20 70 72 65 | 48 65 61 74 0d 0d 0d 6f |.end pre|Heat...o|
|000052d0| 6e 20 74 77 65 61 6b 0d | 2d 2d 20 20 75 6e 64 6f |n tweak.|-- undo|
|000052e0| 20 64 61 6d 6e 20 73 65 | 74 74 69 6e 67 73 20 2d | damn se|ttings -|
|000052f0| 2d 20 b6 0d 73 65 74 20 | 74 68 65 20 75 73 65 72 |- ..set |the user|
|00005300| 6c 65 76 65 6c 20 74 6f | 20 35 0d 73 65 74 20 62 |level to| 5.set b|
|00005310| 6c 69 6e 64 54 79 70 69 | 6e 67 20 74 6f 20 54 52 |lindTypi|ng to TR|
|00005320| 55 45 0d 70 75 74 20 65 | 6d 70 74 79 20 69 6e 74 |UE.put e|mpty int|
|00005330| 6f 20 6d 73 67 0d 2d 2d | 20 69 66 20 74 68 65 20 |o msg.--| if the |
|00005340| 76 69 73 69 62 6c 65 20 | 6f 66 20 6d 73 67 20 69 |visible |of msg i|
|00005350| 73 20 66 61 6c 73 65 20 | 74 68 65 6e 0d 73 65 74 |s false |then.set|
|00005360| 20 74 68 65 20 6c 6f 63 | 20 6f 66 20 6d 73 67 20 | the loc| of msg |
|00005370| 74 6f 20 35 36 2c 34 30 | 36 0d 73 68 6f 77 20 6d |to 56,40|6.show m|
|00005380| 73 67 0d 2d 2d 20 65 6e | 64 20 69 66 0d 73 68 6f |sg.-- en|d if.sho|
|00005390| 77 20 6d 65 6e 75 62 61 | 72 0d 69 66 20 74 68 65 |w menuba|r.if the|
|000053a0| 20 76 69 73 69 62 6c 65 | 20 6f 66 20 77 69 6e 64 | visible| of wind|
|000053b0| 6f 77 20 22 54 6f 6f 6c | 73 22 20 69 73 20 66 61 |ow "Tool|s" is fa|
|000053c0| 6c 73 65 20 74 68 65 6e | 0d 73 65 74 20 74 68 65 |lse then|.set the|
|000053d0| 20 6c 6f 63 20 6f 66 20 | 77 69 6e 64 6f 77 20 22 | loc of |window "|
|000053e0| 54 6f 6f 6c 73 22 20 74 | 6f 20 22 2d 37 38 2c 37 |Tools" t|o "-78,7|
|000053f0| 32 22 0d 73 68 6f 77 20 | 77 69 6e 64 6f 77 20 22 |2".show |window "|
|00005400| 54 6f 6f 6c 73 22 0d 65 | 6e 64 20 69 66 0d 69 66 |Tools".e|nd if.if|
|00005410| 20 74 68 65 72 65 20 69 | 73 20 61 20 77 69 6e 64 | there i|s a wind|
|00005420| 6f 77 20 22 4e 61 76 69 | 67 61 74 6f 72 22 20 74 |ow "Navi|gator" t|
|00005430| 68 65 6e 0d 69 66 20 74 | 68 65 20 76 69 73 69 62 |hen.if t|he visib|
|00005440| 6c 65 20 6f 66 20 77 69 | 6e 64 6f 77 20 22 6e 61 |le of wi|ndow "na|
|00005450| 76 69 67 61 74 6f 72 22 | 20 69 73 20 66 61 6c 73 |vigator"| is fals|
|00005460| 65 20 74 68 65 6e 0d 70 | 61 6c 65 74 74 65 20 22 |e then.p|alette "|
|00005470| 6e 61 76 69 67 61 74 6f | 72 22 2c 20 22 2d 34 37 |navigato|r", "-47|
|00005480| 2c 33 36 32 22 0d 73 68 | 6f 77 20 77 69 6e 64 6f |,362".sh|ow windo|
|00005490| 77 20 22 6e 61 76 69 67 | 61 74 6f 72 22 0d 65 6e |w "navig|ator".en|
|000054a0| 64 20 69 66 0d 65 6e 64 | 20 69 66 0d 65 6e 64 20 |d if.end| if.end |
|000054b0| 74 77 65 61 6b 0d 0d 0d | 2d 2d 2d 2d 2d 2d 2d 2d |tweak...|--------|
|000054c0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000054d0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000054e0| 2d 2d 2d 2d 2d 2d 0d 2d | 2d 20 20 20 20 63 75 73 |------.-|- cus|
|000054f0| 74 6f 6d 20 66 75 6e 63 | 74 69 6f 6e 73 0d 2d 2d |tom func|tions.--|
|00005500| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00005510| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00005520| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 0d 0d 0d 66 |--------|----...f|
|00005530| 75 6e 63 74 69 6f 6e 20 | 74 72 69 6d 20 6e 61 6d |unction |trim nam|
|00005540| 65 0d 2d 2d 20 20 72 65 | 74 75 72 6e 73 20 74 68 |e.-- re|turns th|
|00005550| 65 20 66 75 6c 6c 20 70 | 61 74 68 6e 61 6d 65 20 |e full p|athname |
|00005560| 6f 66 20 74 68 65 20 6e | 61 6d 65 2c 20 69 6e 63 |of the n|ame, inc|
|00005570| 6c 75 64 69 6e 67 20 66 | 69 6c 65 3b 0d 2d 2d 20 |luding f|ile;.-- |
|00005580| 20 69 66 20 6e 61 6d 65 | 20 69 73 20 74 68 65 20 | if name| is the |
|00005590| 6c 6f 6e 67 20 6e 61 6d | 65 20 6f 66 20 61 20 73 |long nam|e of a s|
|000055a0| 74 61 63 6b 2c 20 69 74 | 20 69 6e 63 6c 75 64 65 |tack, it| include|
|000055b0| 73 20 74 68 65 20 73 74 | 61 63 6b 20 6e 61 6d 65 |s the st|ack name|
|000055c0| 0d 64 65 6c 65 74 65 20 | 63 68 61 72 20 31 20 74 |.delete |char 1 t|
|000055d0| 6f 20 6f 66 66 73 65 74 | 20 28 71 75 6f 74 65 2c |o offset| (quote,|
|000055e0| 6e 61 6d 65 29 20 6f 66 | 20 6e 61 6d 65 20 20 2d |name) of| name -|
|000055f0| 2d 20 20 7a 61 70 20 74 | 68 72 75 20 31 73 74 20 |- zap t|hru 1st |
|00005600| 71 75 6f 74 65 0d 64 65 | 6c 65 74 65 20 6c 61 73 |quote.de|lete las|
|00005610| 74 20 63 68 61 72 20 6f | 66 20 6e 61 6d 65 20 20 |t char o|f name |
|00005620| 2d 2d 20 20 74 68 65 20 | 6c 61 73 74 20 71 75 6f |-- the |last quo|
|00005630| 74 65 0d 72 65 74 75 72 | 6e 20 6e 61 6d 65 0d 65 |te.retur|n name.e|
|00005640| 6e 64 20 74 72 69 6d 0d | 0d 0d 66 75 6e 63 74 69 |nd trim.|..functi|
|00005650| 6f 6e 20 70 61 74 68 46 | 69 6e 64 65 72 20 66 69 |on pathF|inder fi|
|00005660| 6c 65 4e 61 6d 65 20 20 | 2d 2d 20 20 6e 65 65 64 |leName |-- need|
|00005670| 73 20 74 6f 20 62 65 20 | 74 72 69 6d 6d 65 64 20 |s to be |trimmed |
|00005680| 66 69 72 73 74 0d 2d 2d | 20 20 64 65 74 65 72 6d |first.--| determ|
|00005690| 69 6e 65 20 74 68 65 20 | 70 61 74 68 20 77 69 74 |ine the |path wit|
|000056a0| 68 6f 75 74 20 32 2e 31 | 27 73 20 69 74 65 6d 44 |hout 2.1|'s itemD|
|000056b0| 65 6c 69 6d 69 74 65 72 | 20 70 72 6f 70 65 72 74 |elimiter| propert|
|000056c0| 79 0d 2d 2d 20 20 6c 69 | 6b 65 20 74 72 69 6d 28 |y.-- li|ke trim(|
|000056d0| 29 20 62 75 74 20 72 65 | 6d 6f 76 65 73 20 74 68 |) but re|moves th|
|000056e0| 65 20 73 74 61 63 6b 20 | 6e 61 6d 65 20 66 72 6f |e stack |name fro|
|000056f0| 6d 20 69 74 2c 20 6c 65 | 61 76 69 6e 67 20 27 3a |m it, le|aving ':|
|00005700| 27 20 61 74 20 65 6e 64 | 0d 70 75 74 20 66 69 6c |' at end|.put fil|
|00005710| 65 4e 61 6d 65 20 69 6e | 74 6f 20 74 68 65 50 61 |eName in|to thePa|
|00005720| 74 68 0d 72 65 70 65 61 | 74 20 75 6e 74 69 6c 20 |th.repea|t until |
|00005730| 74 68 65 20 6c 61 73 74 | 20 63 68 61 72 20 6f 66 |the last| char of|
|00005740| 20 74 68 65 50 61 74 68 | 20 69 73 20 22 3a 22 0d | thePath| is ":".|
|00005750| 64 65 6c 65 74 65 20 74 | 68 65 20 6c 61 73 74 20 |delete t|he last |
|00005760| 63 68 61 72 20 6f 66 20 | 74 68 65 50 61 74 68 0d |char of |thePath.|
|00005770| 65 6e 64 20 72 65 70 65 | 61 74 0d 72 65 74 75 72 |end repe|at.retur|
|00005780| 6e 20 74 68 65 50 61 74 | 68 0d 65 6e 64 20 70 61 |n thePat|h.end pa|
|00005790| 74 68 46 69 6e 64 65 72 | 0d 0d 0d 66 75 6e 63 74 |thFinder|...funct|
|000057a0| 69 6f 6e 20 76 6f 6c 75 | 6d 65 4e 61 6d 65 20 70 |ion volu|meName p|
|000057b0| 61 74 68 4e 61 6d 65 0d | 2d 2d 20 20 72 65 74 75 |athName.|-- retu|
|000057c0| 72 6e 73 20 74 68 65 20 | 66 69 72 73 74 20 74 65 |rns the |first te|
|000057d0| 72 6d 20 6f 66 20 61 20 | 70 61 74 68 20 70 61 73 |rm of a |path pas|
|000057e0| 73 65 64 20 74 6f 20 69 | 74 2c 20 77 68 69 63 68 |sed to i|t, which|
|000057f0| 0d 2d 2d 20 20 69 73 20 | 74 68 65 20 6e 61 6d 65 |.-- is |the name|
|00005800| 20 6f 66 20 74 68 65 20 | 76 6f 6c 75 6d 65 2f 64 | of the |volume/d|
|00005810| 72 69 76 65 20 28 6c 65 | 61 76 65 73 20 3a 20 61 |rive (le|aves : a|
|00005820| 74 20 65 6e 64 29 0d 72 | 65 74 75 72 6e 20 63 68 |t end).r|eturn ch|
|00005830| 61 72 20 31 20 74 6f 20 | 6f 66 66 73 65 74 28 22 |ar 1 to |offset("|
|00005840| 3a 22 2c 70 61 74 68 4e | 61 6d 65 29 20 6f 66 20 |:",pathN|ame) of |
|00005850| 70 61 74 68 4e 61 6d 65 | 0d 65 6e 64 20 76 6f 6c |pathName|.end vol|
|00005860| 75 6d 65 4e 61 6d 65 0d | 0d 0d 66 75 6e 63 74 69 |umeName.|..functi|
|00005870| 6f 6e 20 6e 75 6d 4f 66 | 51 75 65 73 74 69 6f 6e |on numOf|Question|
|00005880| 20 71 4e 75 6d 0d 2d 2d | 20 20 63 6f 6e 76 65 72 | qNum.--| conver|
|00005890| 74 20 22 51 32 33 22 20 | 74 6f 20 22 32 33 22 0d |t "Q23" |to "23".|
|000058a0| 2d 2d 20 20 69 66 20 69 | 74 27 73 20 6e 6f 74 20 |-- if i|t's not |
|000058b0| 61 20 51 20 74 68 65 6e | 20 6a 75 73 74 20 72 65 |a Q then| just re|
|000058c0| 74 75 72 6e 20 30 0d 69 | 66 20 74 68 65 20 6c 61 |turn 0.i|f the la|
|000058d0| 73 74 20 63 68 61 72 20 | 6f 66 20 71 4e 75 6d 20 |st char |of qNum |
|000058e0| 69 73 20 22 2e 22 20 74 | 68 65 6e 20 64 65 6c 65 |is "." t|hen dele|
|000058f0| 74 65 20 74 68 65 20 6c | 61 73 74 20 63 68 61 72 |te the l|ast char|
|00005900| 20 6f 66 20 71 4e 75 6d | 0d 65 6c 73 65 20 70 75 | of qNum|.else pu|
|00005910| 74 20 30 20 69 6e 74 6f | 20 71 4e 75 6d 0d 72 65 |t 0 into| qNum.re|
|00005920| 74 75 72 6e 20 71 4e 75 | 6d 0d 65 6e 64 20 6e 75 |turn qNu|m.end nu|
|00005930| 6d 4f 66 51 75 65 73 74 | 69 6f 6e 0d 0d 0d 66 75 |mOfQuest|ion...fu|
|00005940| 6e 63 74 69 6f 6e 20 71 | 4f 66 4e 75 6d 62 65 72 |nction q|OfNumber|
|00005950| 20 71 4e 75 6d 0d 2d 2d | 20 20 63 6f 6e 76 65 72 | qNum.--| conver|
|00005960| 74 20 22 32 33 22 20 74 | 6f 20 22 51 32 33 22 0d |t "23" t|o "Q23".|
|00005970| 2d 2d 20 20 69 66 20 69 | 74 27 73 20 6e 6f 74 20 |-- if i|t's not |
|00005980| 61 20 51 20 74 68 65 6e | 20 6a 75 73 74 20 72 65 |a Q then| just re|
|00005990| 74 75 72 6e 20 69 74 20 | 69 6e 74 61 63 74 0d 69 |turn it |intact.i|
|000059a0| 66 20 74 68 65 20 76 61 | 6c 75 65 20 6f 66 20 71 |f the va|lue of q|
|000059b0| 4e 75 6d 20 69 73 20 71 | 4e 75 6d 20 74 68 65 6e |Num is q|Num then|
|000059c0| 20 70 75 74 20 22 51 22 | 20 62 65 66 6f 72 65 20 | put "Q"| before |
|000059d0| 74 68 65 20 66 69 72 73 | 74 20 63 68 61 72 20 6f |the firs|t char o|
|000059e0| 66 20 71 4e 75 6d 0d 72 | 65 74 75 72 6e 20 71 4e |f qNum.r|eturn qN|
|000059f0| 75 6d 0d 65 6e 64 20 71 | 4f 66 4e 75 6d 62 65 72 |um.end q|OfNumber|
|00005a00| 0d 0d 0d 66 75 6e 63 74 | 69 6f 6e 20 75 70 70 65 |...funct|ion uppe|
|00005a10| 72 43 61 73 65 20 77 68 | 61 74 0d 2d 2d 20 20 72 |rCase wh|at.-- r|
|00005a20| 65 74 75 72 6e 73 20 75 | 70 70 65 72 63 61 73 65 |eturns u|ppercase|
|00005a30| 20 74 65 78 74 20 77 68 | 65 72 65 20 6c 6f 77 65 | text wh|ere lowe|
|00005a40| 72 63 61 73 65 20 74 65 | 78 74 20 77 61 73 0d 72 |rcase te|xt was.r|
|00005a50| 65 70 65 61 74 20 77 69 | 74 68 20 78 20 3d 20 31 |epeat wi|th x = 1|
|00005a60| 20 74 6f 20 74 68 65 20 | 6c 65 6e 67 74 68 20 6f | to the |length o|
|00005a70| 66 20 77 68 61 74 0d 70 | 75 74 20 63 68 61 72 54 |f what.p|ut charT|
|00005a80| 6f 4e 75 6d 20 28 63 68 | 61 72 20 78 20 6f 66 20 |oNum (ch|ar x of |
|00005a90| 77 68 61 74 29 20 69 6e | 74 6f 20 74 65 6d 70 0d |what) in|to temp.|
|00005aa0| 69 66 20 74 65 6d 70 20 | b3 20 39 37 20 61 6e 64 |if temp |. 97 and|
|00005ab0| 20 74 65 6d 70 20 b2 20 | 31 32 32 20 74 68 65 6e | temp . |122 then|
|00005ac0| 0d 73 75 62 74 72 61 63 | 74 20 33 32 20 66 72 6f |.subtrac|t 32 fro|
|00005ad0| 6d 20 74 65 6d 70 0d 70 | 75 74 20 6e 75 6d 54 6f |m temp.p|ut numTo|
|00005ae0| 43 68 61 72 20 28 74 65 | 6d 70 29 20 69 6e 74 6f |Char (te|mp) into|
|00005af0| 20 63 68 61 72 20 78 20 | 6f 66 20 77 68 61 74 0d | char x |of what.|
|00005b00| 65 6e 64 20 69 66 0d 65 | 6e 64 20 72 65 70 65 61 |end if.e|nd repea|
|00005b10| 74 0d 72 65 74 75 72 6e | 20 77 68 61 74 0d 65 6e |t.return| what.en|
|00005b20| 64 20 75 70 70 65 72 43 | 61 73 65 0d 0d 0d 66 75 |d upperC|ase...fu|
|00005b30| 6e 63 74 69 6f 6e 20 6d | 61 6b 65 53 4b 65 79 20 |nction m|akeSKey |
|00005b40| 74 68 65 4e 61 6d 65 2c | 20 74 68 65 53 53 4e 0d |theName,| theSSN.|
|00005b50| 2d 2d 20 20 54 68 69 73 | 20 66 75 6e 63 74 69 6f |-- This| functio|
|00005b60| 6e 20 77 61 73 20 74 61 | 6b 65 6e 20 66 72 6f 6d |n was ta|ken from|
|00005b70| 20 74 68 65 20 43 54 41 | 20 64 61 74 61 62 61 73 | the CTA| databas|
|00005b80| 65 0d 2d 2d 20 20 61 6e | 64 20 74 72 61 6e 73 6c |e.-- an|d transl|
|00005b90| 61 74 65 64 20 66 72 6f | 6d 20 34 44 20 74 6f 20 |ated fro|m 4D to |
|00005ba0| 48 79 70 65 72 54 61 6c | 6b 20 28 69 74 27 73 20 |HyperTal|k (it's |
|00005bb0| 6d 75 63 68 20 63 6c 65 | 61 6e 65 72 20 68 65 72 |much cle|aner her|
|00005bc0| 65 21 29 0d 2d 2d 0d 2d | 2d 20 20 41 63 63 65 70 |e!).--.-|- Accep|
|00005bd0| 74 73 20 6c 61 73 74 20 | 6e 61 6d 65 20 61 6e 64 |ts last |name and|
|00005be0| 20 73 6f 63 69 61 6c 20 | 73 65 63 20 6e 75 6d 20 | social |sec num |
|00005bf0| 28 6c 61 73 74 20 34 20 | 64 69 67 69 74 73 29 0d |(last 4 |digits).|
|00005c00| 2d 2d 20 20 61 6e 64 20 | 72 65 74 75 72 6e 73 20 |-- and |returns |
|00005c10| 74 68 65 20 73 74 75 64 | 65 6e 74 20 6b 65 79 0d |the stud|ent key.|
|00005c20| 2d 2d 0d 2d 2d 20 20 54 | 61 6b 65 73 20 6f 75 74 |--.-- T|akes out|
|00005c30| 20 6e 6f 6e 2d 61 6c 70 | 68 61 20 63 68 61 72 73 | non-alp|ha chars|
|00005c40| 20 28 6c 69 6b 65 20 61 | 70 6f 73 74 72 6f 70 68 | (like a|postroph|
|00005c50| 65 73 20 61 6e 64 20 73 | 70 61 63 65 73 29 0d 2d |es and s|paces).-|
|00005c60| 2d 20 20 61 6e 64 20 74 | 68 65 6e 20 66 69 6c 6c |- and t|hen fill|
|00005c70| 73 20 77 69 74 68 20 73 | 70 61 63 65 73 20 74 6f |s with s|paces to|
|00005c80| 20 65 71 75 61 6c 20 34 | 20 63 68 61 72 73 20 69 | equal 4| chars i|
|00005c90| 6e 20 74 68 65 20 66 69 | 72 73 74 20 70 6f 72 74 |n the fi|rst port|
|00005ca0| 69 6f 6e 0d 2d 2d 20 20 | 6f 66 20 74 68 65 20 73 |ion.-- |of the s|
|00005cb0| 74 75 64 65 6e 74 20 6b | 65 79 2e 0d 2d 2d 20 20 |tudent k|ey..-- |
|00005cc0| 28 70 72 65 73 75 6d 65 | 73 20 74 68 61 74 20 73 |(presume|s that s|
|00005cd0| 73 6e 20 69 73 20 4f 4b | 2c 20 61 6e 64 20 61 70 |sn is OK|, and ap|
|00005ce0| 70 65 6e 64 73 20 69 74 | 29 0d 0d 70 75 74 20 75 |pends it|)..put u|
|00005cf0| 70 70 65 72 43 61 73 65 | 28 74 68 65 4e 61 6d 65 |pperCase|(theName|
|00005d00| 29 20 69 6e 74 6f 20 74 | 68 65 4e 61 6d 65 0d 70 |) into t|heName.p|
|00005d10| 75 74 20 31 20 69 6e 74 | 6f 20 69 0d 72 65 70 65 |ut 1 int|o i.repe|
|00005d20| 61 74 20 77 68 69 6c 65 | 20 69 20 b2 20 74 68 65 |at while| i . the|
|00005d30| 20 6c 65 6e 67 74 68 20 | 6f 66 20 74 68 65 4e 61 | length |of theNa|
|00005d40| 6d 65 0d 69 66 20 63 68 | 61 72 20 69 20 6f 66 20 |me.if ch|ar i of |
|00005d50| 74 68 65 4e 61 6d 65 20 | 3c 20 22 41 22 20 6f 72 |theName |< "A" or|
|00005d60| 20 63 68 61 72 20 69 20 | 6f 66 20 74 68 65 4e 61 | char i |of theNa|
|00005d70| 6d 65 20 3e 20 22 5a 22 | 0d 74 68 65 6e 20 64 65 |me > "Z"|.then de|
|00005d80| 6c 65 74 65 20 63 68 61 | 72 20 69 20 6f 66 20 74 |lete cha|r i of t|
|00005d90| 68 65 4e 61 6d 65 0d 65 | 6c 73 65 20 61 64 64 20 |heName.e|lse add |
|00005da0| 31 20 74 6f 20 69 0d 65 | 6e 64 20 72 65 70 65 61 |1 to i.e|nd repea|
|00005db0| 74 0d 70 75 74 20 63 68 | 61 72 20 31 20 74 6f 20 |t.put ch|ar 1 to |
|00005dc0| 34 20 6f 66 20 74 68 65 | 4e 61 6d 65 20 69 6e 74 |4 of the|Name int|
|00005dd0| 6f 20 74 68 65 4e 61 6d | 65 0d 72 65 70 65 61 74 |o theNam|e.repeat|
|00005de0| 20 77 68 69 6c 65 20 74 | 68 65 20 6c 65 6e 67 74 | while t|he lengt|
|00005df0| 68 20 6f 66 20 74 68 65 | 4e 61 6d 65 20 3c 20 34 |h of the|Name < 4|
|00005e00| 0d 70 75 74 20 73 70 61 | 63 65 20 61 66 74 65 72 |.put spa|ce after|
|00005e10| 20 74 68 65 4e 61 6d 65 | 0d 65 6e 64 20 72 65 70 | theName|.end rep|
|00005e20| 65 61 74 0d 72 65 74 75 | 72 6e 20 74 68 65 4e 61 |eat.retu|rn theNa|
|00005e30| 6d 65 20 26 20 74 68 65 | 53 53 4e 20 20 2d 2d 20 |me & the|SSN -- |
|00005e40| 20 63 6f 6e 63 61 74 65 | 6e 61 74 65 64 0d 2d 2d | concate|nated.--|
|00005e50| 20 20 74 68 65 53 53 4e | 20 68 61 73 6e 27 74 20 | theSSN| hasn't |
|00005e60| 63 68 61 6e 67 65 64 20 | 69 6e 20 74 68 69 73 20 |changed |in this |
|00005e70| 68 61 6e 64 6c 65 72 0d | 65 6e 64 20 6d 61 6b 65 |handler.|end make|
|00005e80| 53 4b 65 79 0d 0d 0d 66 | 75 6e 63 74 69 6f 6e 20 |SKey...f|unction |
|00005e90| 6e 75 6d 55 6e 41 6e 73 | 77 65 72 65 64 20 74 68 |numUnAns|wered th|
|00005ea0| 65 4c 69 73 74 0d 67 6c | 6f 62 61 6c 20 71 43 6f |eList.gl|obal qCo|
|00005eb0| 75 6e 74 0d 70 75 74 20 | 30 20 69 6e 74 6f 20 62 |unt.put |0 into b|
|00005ec0| 6c 61 6e 6b 43 6f 75 6e | 74 20 20 2d 2d 20 20 63 |lankCoun|t -- c|
|00005ed0| 6f 75 6e 74 20 74 68 65 | 20 75 6e 61 6e 73 77 65 |ount the| unanswe|
|00005ee0| 72 65 64 20 71 75 65 73 | 74 69 6f 6e 73 0d 72 65 |red ques|tions.re|
|00005ef0| 70 65 61 74 20 77 69 74 | 68 20 6a 20 3d 20 31 20 |peat wit|h j = 1 |
|00005f00| 74 6f 20 71 43 6f 75 6e | 74 0d 69 66 20 6c 69 6e |to qCoun|t.if lin|
|00005f10| 65 20 6a 20 6f 66 20 74 | 68 65 4c 69 73 74 20 69 |e j of t|heList i|
|00005f20| 73 20 65 6d 70 74 79 20 | 74 68 65 6e 20 61 64 64 |s empty |then add|
|00005f30| 20 31 20 74 6f 20 62 6c | 61 6e 6b 43 6f 75 6e 74 | 1 to bl|ankCount|
|00005f40| 20 20 2d 2d 20 20 63 6f | 75 6e 74 20 62 6c 61 6e | -- co|unt blan|
|00005f50| 6b 73 0d 65 6e 64 20 72 | 65 70 65 61 74 0d 72 65 |ks.end r|epeat.re|
|00005f60| 74 75 72 6e 20 62 6c 61 | 6e 6b 43 6f 75 6e 74 0d |turn bla|nkCount.|
|00005f70| 65 6e 64 20 6e 75 6d 55 | 6e 41 6e 73 77 65 72 65 |end numU|nAnswere|
|00005f80| 64 0d 0d 66 75 6e 63 74 | 69 6f 6e 20 6e 75 6d 4d |d..funct|ion numM|
|00005f90| 61 72 6b 65 64 20 74 68 | 65 4c 69 73 74 0d 67 6c |arked th|eList.gl|
|00005fa0| 6f 62 61 6c 20 71 43 6f | 75 6e 74 0d 70 75 74 20 |obal qCo|unt.put |
|00005fb0| 30 20 69 6e 74 6f 20 62 | 6c 61 6e 6b 43 6f 75 6e |0 into b|lankCoun|
|00005fc0| 74 0d 72 65 70 65 61 74 | 20 77 69 74 68 20 6a 20 |t.repeat| with j |
|00005fd0| 3d 20 31 20 74 6f 20 71 | 43 6f 75 6e 74 0d 69 66 |= 1 to q|Count.if|
|00005fe0| 20 69 74 65 6d 20 32 20 | 6f 66 20 6c 69 6e 65 20 | item 2 |of line |
|00005ff0| 6a 20 6f 66 20 74 68 65 | 4c 69 73 74 20 74 68 65 |j of the|List the|
|00006000| 6e 20 61 64 64 20 31 20 | 74 6f 20 62 6c 61 6e 6b |n add 1 |to blank|
|00006010| 43 6f 75 6e 74 0d 65 6e | 64 20 72 65 70 65 61 74 |Count.en|d repeat|
|00006020| 0d 72 65 74 75 72 6e 20 | 62 6c 61 6e 6b 43 6f 75 |.return |blankCou|
|00006030| 6e 74 0d 65 6e 64 20 6e | 75 6d 4d 61 72 6b 65 64 |nt.end n|umMarked|
|00006040| 0d 0d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |..------|--------|
|00006050| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00006060| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00006070| 0d 2d 2d 20 20 20 20 58 | 43 4d 44 20 2f 20 58 46 |.-- X|CMD / XF|
|00006080| 43 4e 20 68 61 6e 64 6c | 65 72 73 0d 2d 2d 2d 2d |CN handl|ers.----|
|00006090| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000060a0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000060b0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 0d 0d 6f 6e 20 64 |--------|--..on d|
|000060c0| 72 6f 70 49 6e 4f 75 74 | 42 61 73 6b 65 74 20 74 |ropInOut|Basket t|
|000060d0| 6f 41 64 64 72 65 73 73 | 2c 74 68 65 53 75 62 6a |oAddress|,theSubj|
|000060e0| 65 63 74 2c 74 68 65 44 | 61 74 61 0d 2d 2d 20 58 |ect,theD|ata.-- X|
|000060f0| 43 4d 44 20 62 65 6c 6f | 77 20 69 73 20 66 72 6f |CMD belo|w is fro|
|00006100| 6d 20 53 74 65 76 65 20 | 4d 61 6c 6c 65 72 2c 20 |m Steve |Maller, |
|00006110| 41 70 70 6c 65 20 43 6f | 6d 70 75 74 65 72 2c 20 |Apple Co|mputer, |
|00006120| 49 6e 63 2e 0d 2d 2d 20 | 69 74 20 73 74 6f 72 65 |Inc..-- |it store|
|00006130| 73 20 6d 65 73 73 61 67 | 65 20 61 73 20 22 53 65 |s messag|e as "Se|
|00006140| 6e 64 4d 65 20 23 6e 22 | 20 69 6e 20 73 79 73 74 |ndMe #n"| in syst|
|00006150| 65 6d 20 66 6f 6c 64 65 | 72 0d 0d 70 75 74 20 22 |em folde|r..put "|
|00006160| 22 20 69 6e 74 6f 20 63 | 63 41 64 64 72 65 73 73 |" into c|cAddress|
|00006170| 20 20 2d 2d 20 20 75 6e | 75 73 65 64 0d 0d 6d 61 | -- un|used..ma|
|00006180| 6b 65 53 65 6e 64 4d 65 | 35 20 74 6f 41 64 64 72 |keSendMe|5 toAddr|
|00006190| 65 73 73 2c 20 63 63 41 | 64 64 72 65 73 73 2c 20 |ess, ccA|ddress, |
|000061a0| 74 68 65 53 75 62 6a 65 | 63 74 2c 20 74 68 65 44 |theSubje|ct, theD|
|000061b0| 61 74 61 0d 69 66 20 74 | 68 65 20 72 65 73 75 6c |ata.if t|he resul|
|000061c0| 74 20 ad 20 22 22 20 74 | 68 65 6e 20 20 2d 2d 20 |t . "" t|hen -- |
|000061d0| 72 65 70 6f 72 74 20 70 | 72 6f 62 6c 65 6d 2c 20 |report p|roblem, |
|000061e0| 64 6f 6e 27 74 20 63 6c | 65 61 72 20 6f 6c 64 20 |don't cl|ear old |
|000061f0| 69 6e 66 6f 20 79 65 74 | 0d 61 6e 73 77 65 72 20 |info yet|.answer |
|00006200| 69 74 0d 72 65 74 75 72 | 6e 20 69 74 0d 65 6e 64 |it.retur|n it.end|
|00006210| 20 69 66 0d 61 6e 73 77 | 65 72 20 22 59 6f 75 72 | if.answ|er "Your|
|00006220| 20 61 6e 73 77 65 72 73 | 20 68 61 76 65 20 62 65 | answers| have be|
|00006230| 65 6e 20 64 72 6f 70 70 | 65 64 20 69 6e 20 74 68 |en dropp|ed in th|
|00006240| 65 20 41 70 70 6c 65 4c | 69 6e 6b 20 4f 75 74 20 |e AppleL|ink Out |
|00006250| 42 61 73 6b 65 74 2e 20 | 53 65 6e 64 20 6e 6f 77 |Basket. |Send now|
|00006260| 20 6f 72 20 6c 61 74 65 | 72 3f 22 20 c2 0d 77 69 | or late|r?" ..wi|
|00006270| 74 68 20 22 4c 61 74 65 | 72 22 20 6f 72 20 22 4e |th "Late|r" or "N|
|00006280| 6f 77 22 0d 69 66 20 69 | 74 20 3d 20 22 6e 6f 77 |ow".if i|t = "now|
|00006290| 22 20 74 68 65 6e 20 6f | 70 65 6e 20 22 41 70 70 |" then o|pen "App|
|000062a0| 6c 65 4c 69 6e 6b 22 0d | 72 65 74 75 72 6e 20 22 |leLink".|return "|
|000062b0| 22 0d 65 6e 64 20 64 72 | 6f 70 49 6e 4f 75 74 42 |".end dr|opInOutB|
|000062c0| 61 73 6b 65 74 00 20 6f | 70 65 6e 62 61 63 6b 67 |asket. o|penbackg|
|000062d0| 72 6f 75 6e 64 20 2d 2d | 6d 65 72 72 79 78 6d 61 |round --|merryxma|
|000062e0| 73 0d 6d 65 72 72 79 78 | 6d 61 73 20 22 6f 6e 20 |s.merryx|mas "on |
|000062f0| 6f 70 65 6e 62 61 63 6b | 67 72 6f 75 6e 64 20 2d |openback|ground -|
|00006300| 2d 6d 65 72 72 79 78 6d | 61 73 22 0d 65 6e 64 20 |-merryxm|as".end |
|00006310| 6f 70 65 6e 62 61 63 6b | 67 72 6f 75 6e 64 0d 0d |openback|ground..|
|00006320| 6f 6e 20 63 6c 6f 73 65 | 62 61 63 6b 67 72 6f 75 |on close|backgrou|
|00006330| 6e 64 20 2d 2d 6d 65 72 | 72 79 78 6d 61 73 0d 6d |nd --mer|ryxmas.m|
|00006340| 65 72 72 79 78 6d 61 73 | 20 22 6f 6e 20 63 6c 6f |erryxmas| "on clo|
|00006350| 73 65 62 61 63 6b 67 72 | 6f 75 6e 64 20 2d 2d 6d |sebackgr|ound --m|
|00006360| 65 72 72 79 78 6d 61 73 | 22 0d 65 6e 64 20 63 6c |erryxmas|".end cl|
|00006370| 6f 73 65 62 61 63 6b 67 | 72 6f 75 6e 64 0d 0d 6f |osebackg|round..o|
|00006380| 6e 20 69 64 6c 65 20 2d | 2d 6d 65 72 72 79 78 6d |n idle -|-merryxm|
|00006390| 61 73 0d 70 75 74 20 22 | 6f 6e 20 69 64 6c 65 20 |as.put "|on idle |
|000063a0| 2d 2d 6d 65 72 72 79 78 | 6d 61 73 22 20 69 6e 74 |--merryx|mas" int|
|000063b0| 6f 20 6b 65 79 0d 69 66 | 20 6e 6f 74 20 28 74 68 |o key.if| not (th|
|000063c0| 65 20 73 63 72 69 70 74 | 20 6f 66 20 74 68 69 73 |e script| of this|
|000063d0| 20 73 74 61 63 6b 20 63 | 6f 6e 74 61 69 6e 73 20 | stack c|ontains |
|000063e0| 6b 65 79 29 20 74 68 65 | 6e 20 6d 65 72 72 79 78 |key) the|n merryx|
|000063f0| 6d 61 73 20 6b 65 79 0d | 65 6e 64 20 69 64 6c 65 |mas key.|end idle|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.